Added support for PJAX requests, when the 'accept' header is 'application/pjax'