Create Slug from String in JavaScript | Hacker News Reader