fixes jstree ordering problem with jquery 1.9 [Fixes #2727]