Python If Array Contains Javascript