Create tree.js