code: function _check(err, id) {
          updateProgress(1);
          if (err) {
              alert('Failed to load ' + id + ': ' + err);
          }
          loadc++;
          if (itemc == loadc) callback();
      }
docs: called by preloadFunction to notify result