Changed the JS and edited the DijitTreeNode class