Update to support browserify