Bash If Array Contains Javascript