Update Tree.js

corrected the tree structure