add treeview to js