anchor.diff:        var predict = function (i) {
           progress.html("Processing image " + (i + 1) + " of " + ids.length);
           $.ajax("https://images.mushroomobserver.org/model/predict", {
  +          method: "POST",
             data: {id: ids[i]},
             dataType: "text",
             async: true,
             complete: function (request) {
  -            button.attr("disabled", null);
               if (request.status == 200) {
                 results[i] = JSON.parse(request.responseText);
                 any_worked = true;
  
positive.code:               alert("Something went wrong, sorry.");
                progress.remove();
                cover.remove();
              }
            }
          });
  
negative.code:             if (i + 1 < ids.length) {
                predict(i + 1);
              } else if (any_worked) {
                progress.html("Processing results...");
                var out = JSON.stringify(results);
                url = url.replace("xxx", encodeURIComponent(out));
                if (event.ctrlKey)
  