Create TriStateTree.js