How to Check if a String Contains a Substring in JavaScript | CodeTrail