code: function runMain () {
      setTitle('Apache Cordova Plugin Tests');
  
      createActionButton('Auto Tests', setMode.bind(null, 'auto'));
      createActionButton('Manual Tests', setMode.bind(null, 'manual'));
      createActionButton('Reset App', location.reload.bind(location));
      if (/showBack/.exec(location.hash)) {
          createActionButton('Back', function () {
              history.go(-1);
          });
      }
  
      if (isWin && typeof WinJS !== 'undefined') {
          var app = WinJS.Application;
          app.addEventListener('error', function (err) { // eslint-disable-line handle-callback-err
              // We do not want an unhandled exception to crash the test app
              // Returning true marks it as being handled
              return true;
          });
      }
  }
docs: ***************************************************************************