I have a jstree that I created with the following code:
$(\'#mytree\').jstree({\"core\": { \"data\" : value , \"themes\" : { \"dots\
$('#mytree').jstree(true).refresh(); is working, but in my case it causes thread leak. every refresh adds one more thread