anchor.diff:                          .click(function() {
                               loadPath($(this).parent().attr("id"));
                           })));
  +                }
               });
   
               $("#nav").find("#" + currentPathId).addClass("active"); // TODO: Grey out the response pane if this is not found
  
positive.code: 
          // Keeps the list of pills updated
          function updateDetailPills() {
              var ids = $("#packages").jqGrid('getDataIDs');
  
              $(".nav-pills > li").remove();
              if (ids.length === 0) {
  
negative.code:                 return;
              }
  
              // TODO: Use foreach?
              var selectedRow = $("#packages").jqGrid("getGridParam", "selrow");
              $.each(ids, function(index, el) {
                  // TODO: Need cleaner way to do this
                  if (el.requestEnabled.indexOf("checked") + el.responseEnabled.indexOf("checked") > -2
                      || index + 1 == selectedRow) {
                      $("#nav").append($("<li>")
                      .attr("id", el.pathId)
                      .append($("<a>")
                          .attr({
  