Create selectiontree.js