added tree view.js to script.js