Bash Check If Array Contains Javascript