make browserify compatible

this makes the package browserify compatible. 

this will allow to make carto browserify compatible too since this module is required