Sample implementation of the trie data structure using jQuery auto-complete