結果 : check if string contains list of substrings javascript