Browserify bug workaround