JavaScript: Split String and Keep the Separators | Hacker News Reader