Javascript Find String In Array Python Vs List