Generate Variables from string in JavaScript | Hacker News Reader