I'm not sure this addition to `redirect()` makes sense since now it redirects-or-responds, depending on `req.xhr`. I think instead I'd leave `redirect` alone, create a new `ajaxResponse` method or something, and instead of passing `redirect` as the `async.waterfall` callback, write a new callback function with the `req.xhr` logic there to call `redirect` or `ajaxResponse` appropriately.