xhr: function () {  // Custom XMLHttpRequest
      var myXhr = $.ajaxSettings.xhr();
      if (myXhr.upload) { // Check if upload property exists
        myXhr.upload.addEventListener('progress', function progressHandlingFunction() {
        }, false); // For handling the progress of the upload