Make jsTree browserify compatible
Merge pull request #778 from StephanHoyer/master

Make jsTree browserify compatible