Check If A String Contains A Substring Javascript