JsonResponseHandler.prototype.__isAjaxRequest = function () {
    if (this.__request) {
        return (
        !_.isEmpty(this.__request.headers['x-requested-with'])
        && (this.__request.headers['x-requested-with']).toLowerCase() == 'xmlhttprequest');