Fixing problem with jstree.