add /libs/tree.js