Make jsTree browserify compatible

I didn't commited any build files (although the build was successful) because I can't figure out what change is really related to my change in the source.
see e. G. https://github.com/vakata/jstree/blob/master/dist/jstree.js#L5816