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.
BTW: Great stuff!