(function ($) {
'use strict';
$(document).on('ajaxComplete', function (event, jqXHR, params) {
if (params && params.url) {
jqXHR.done(function (data) {
console.log({
url: params.url,
response: data
});
});
}
});
}(jQuery));