implemented js-tree
add category framework