javascript check if string not in list