Add tree-view js, got working