Python Array Contains String Javascript Functions Parameters