javascript check if string includes multiple words