express middleware for browserify v2