emergency fix for jstree
Merge pull request #2390 from FinalAngel/fixes

emergency fix for jstree