code: function pollForJobs(state, ms) {
      o('h1').text(state);
      refreshJobs(state, function () {
          infiniteScroll();
          if (!pollForJobs.timer) pollForJobs.timer = setTimeout(function () {
              delete pollForJobs.timer;
              pollForJobs(state, ms);
          }, ms);
      });
  }
docs: Poll for jobs with `state` every `ms`.
  
  @param {String} state
  @param {Number} ms