code: function listJobs(cursor, resultFunc) {
    // If the user is paging then they scrolled down so let's
    // help them by scrolling the window back to the top.
    var jumpToTop = !!cursor;
    cursor = cursor ? cursor : '';
    setButter('Loading');
    $.ajax({
      type: 'GET',
      url: 'command/list_jobs?cursor=' + cursor,
      dataType: 'text',
      error: function(request, textStatus) {
        getResponseDataJson(textStatus);
      },
      success: function(data, textStatus, request) {
        var response = getResponseDataJson(null, data);
        if (response) {
          resultFunc(response.jobs, response.cursor);
          if (jumpToTop) {
            window.scrollTo(0, 0);
          }
          hideButter();  // Hide the loading message.
        }
      }
    });
  }
docs: Return the list of job records and notifies the user the content is being fetched.