jquery.ajax: fix for beforeSend-cancelling-sideeffects