Python Array Contains String Javascript Functions And Events