upgraded from es6 to browserify