code: function incrementNbErrors() {
                  nbErrors++;
                  if (nbErrors == config.maxErrors) {
                      horde.stop();
                      if (!config.logger) return;
                      window.setTimeout(function() {
                          // display the mogwai error after the caught error
                          config.logger.warn('mogwai ', 'gizmo     ', 'stopped test execution after ', config.maxErrors, 'errors');
                      }, 4);
                  }
              }
docs: this is exceptional - don't use 'this' for mogwais in general