Python Array Find String Javascript Functions Parameters