anchor.diff:    };
   
     var refreshDashboard = function() {
  -    var url = '/dashboard/show/' + id + '?' +
  -              'minute_columns=' + minuteColumnsIsChecked() + '&' +
  -              'auto_refresh=' + autoRefreshIsChecked();
  +    var url = '/dashboard/show/' + id +
  +              '?' + 'minute_columns=' + isChecked(minuteColumns) +
  +              '&' + 'auto_refresh=' + isChecked(autoRefresh);
       window.location = url;
     };
   
  
positive.code:   setInterval(dashboardHeartbeat, 10*seconds);
  
    minuteColumns
      .attr('checked', "<%= @minute_columns %>" === "true")
      .click(function() {
        refreshDashboard();
      });
  
    autoRefresh
      .attr('checked', "<%= @auto_refresh %>" === "true")
      .click(function() {
        refreshDashboard();
      });
  
negative.code: 
  $(document).ready(function() {
  
    var id = '<%= @kata.id %>';
    var minuteColumns = $('#minute-columns-checkbox');
    var autoRefresh   = $('#auto-refresh-checkbox');
  
    var isChecked = function(checkbox) {
      return checkbox.is(':checked');
    };
  
    var dashboardHeartbeat = function() {
      if (isChecked(autoRefresh)) {
        $.ajax({
          url: '/dashboard/heartbeat',
          data: {
            id: id,
            minute_columns: isChecked(minuteColumns),
            auto_refresh: isChecked(autoRefresh)
          },
          dataType: 'script'
        });
  