Rewrite require calls in browserify modules.