Remove commented code from tree.js