javascript check if string contains any characters from array