implementing fix from #75
implementing fix from #75

brandly/browserify-middleware,jonpacker/browserify-middleware,ForbesLindesay/browserify-middleware,ForbesLindesay/browserify-middleware,jonpacker/browserify-middleware,brandly/browserify-middleware