http://jnuno.com/tree-model-js/