precompiling tree.js