rewrite, npm and browserify