Cleanup treeview js