Have implemented tree structure using jstree plug-in.