rename variable
write treeview data to client-side js file and server-side json file