update main for browserify