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