added commenting to tree.js toggle