anchor.diff:                // pass the webkitRelativePath value (which contains the relative path to the file) to the form handler 
                 // so it can build dir structure, and also file actual size
                 data.formData = {"path": data.files[0].webkitRelativePath, "size": data.files[0].size};
  -              // remove default click handler for submit button (that alerted about no selected files)
  -              //$("#submit_btn").off('click', uploadGoogleFiles(true));
  -              //$("#submit_btn").off('click.noFiles');
  +              // remove default click handler for submit button that handled google drive - this will be instead be called when uploads done
                 $("#submit_btn").off('click.googleFiles');
  -              // and add new click handler
  +              // and add new click handler - note this 'add' function is called once for each selected file
                 $("#submit_btn").on('click', function (ev) {
  -                  ev.preventDefault();
  -                  startUpload();
  -                  //$(this).attr("disabled", true);
  -                  //$(this).html("Please wait...");
  +                  disableSubmit();
                     data.submit();
                 });
                 localFileCount++;
  
positive.code:         }
        };
        // by default, when user presses submit, handle google uploads 
        $('#submit_btn').on('click.googleFiles', function (ev) { uploadGoogleFiles(true) });
        //$('#submit_btn').on('click.noFiles', function(ev) { alertNoFiles() });
        //$('#submit_btn').on('click.googleFiles', function (ev) { uploadGoogleFiles() });
        $('.file_upload').fileupload({
            dataType: 'json',
            singleFileUploads: true,
  
negative.code:           success: function (data) {
              var progress = parseInt(Math.min(data["byte_to"], data["filesize"]) / data["filesize"] * 100, 10);
              updateProgress(data["path"], progress);
              // get the next chunk of this file if there's still data to get
              if (byte_to < size) {
                getGoogleFileChunk(index, dataset_id, byte_to + 1, byte_to + chunkSize);
  