Fix issue #842: add xhrFields to $.ajax