JS for tree moved to files, JS files including manually