implemented basic interaction with jstree