Move trie.js into src folder