Javascript Check If A String Contains A Substring