added support for browserify