Connect middleware for Mincer (a JavaScript port of Sprockets)