Using recursive data structures, backbone, and javascript to make an autocompletion engine