Connect/Express middleware that allows you to rewrite text/html using client side techniques