rename js files
use templates to render tree nodes
update tree data format
simplify tree templates
render tree only after templates are loaded
Merge branch 'master' into gh-pages