Trie in JavaScript: The data structure behind autocomplete | Hacker News Reader