Started javascript for treeview