requirejs, backbone, node and trie data structure example code