Detect a Substring in a String in JavaScript | Hacker News Reader