Move req.last to request.js and add handlebars helper