fix error in tree.js;update README