javascript if list contains string