stated browserify refactoring