anchor.diff:          $.each(state, function(id, content) {
               var allStatesLink = '<a rel="tooltip" title="Show all individual states this file has gone through." href="#" class="btn" onclick="$.bbq.pushState(\'#mode=details&file=' + content
                       .entity.name + '\', 0); return false"><i class="icon-list"></i> Show all states</a>';
  -            var stopLink = '<a href="#" rel="tooltip" title="Do not retry downloading this file on errors." class="btn" onclick="stop(\'' + content.entity.name + "\',\'" + content.stateName
  -                    + '\'); return false"><i class="icon-stop"></i> Stop</a>';
  -            var restartLink = '<a href="#" rel="tooltip" title="Retry downloding this file." class="btn" onclick="restart(\'' + content.entity.name + "\',\'" + content.stateName
  -                    + '\'); return false"><i class="icon-play"></i> Restart</a>';
  +            var stopLink = '<a href="#" rel="tooltip" title="Do not retry downloading this file on errors." class="btn" onclick="stop(\'' + content.entity.name + '\'); return false"><i class="icon-stop"></i> Stop</a>';
  +            var restartLink = '<a href="#" rel="tooltip" title="Retry downloding this file." class="btn" onclick="restart(\'' + content.entity.name + '\'); return false"><i class="icon-play"></i> Restart</a>';
   
               var item = "<tr>";
               item += "<td>" + content.entity.name + "</td>";
  
positive.code:         $("#reload").click(function() {
              hashchange();
          });
  
          $("#confirmStop").click(function() {
              var name = $("#stopModal").attr("data-name");
              doStop(name);
              $("#stopModal").modal('hide');
              return false;
          });
  
          $("#confirmRestart").click(function() {
              var name = $("#restartModal").attr("data-name");
              doRestart(name);
              $("#restartModal").modal('hide');
              return false;
          });
      })
  </script>
  </body>
  
negative.code:         $("[rel=tooltip]").tooltip();
      }
  
      }
  
      function stop(name) {
          $.ajax({
                     type: "POST",
                     url: '<%= WORKFLOWSTATEMONITOR_SERVICE %>' + 'states/' + name,
                     contentType: "application/json",
                     data: JSON.stringify({component: 'yousee_ingest_monitor', stateName: '<%= STOPPED_STATE %>'})
                 }).done(hashchange);
          $.bbq.pushState("#mode=details&file=" + name, 0);
      }
  
      function restart(name) {
          $.ajax({
                     type: "POST",
                     url: '<%= WORKFLOWSTATEMONITOR_SERVICE %>' + 'states/' + name,
                     contentType: "application/json",
                     data: JSON.stringify({component: 'yousee_ingest_monitor', stateName: '<%= RESTARTED_STATE %>'})
                 }).done(hashchange);
          $.bbq.pushState("#mode=details&file=" + name, 0);
      }
  
      function update(path, title) {
  