Javascript Check If Array Of Strings Contains Substring