Javascript Array Contains Is Not A Function Of Information