text: (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 250;
  
      jasmineEnv.addReporter(new jasmine.ConsoleReporter());
  
      var htmlReporter = new jasmine.HtmlReporter();
      jasmineEnv.addReporter(htmlReporter);
  
      jasmineEnv.specFilter = function(spec) {
          return htmlReporter.specFilter(spec);
      };
  
      var currentWindowOnload = window.onload;
      window.onload = function() {
          if (currentWindowOnload) {
              currentWindowOnload();
          }
  
          execJasmine();
      };
  
      function execJasmine() {
          jasmineEnv.execute();
      }
  })();
  