anchor.diff:              location.href = "<%=request.getRequestURI()%>?heatmap=nodesByCategory&category=" + nodes[0].id;
               <%
                 }
  -              
  +
                 if ("nodesByCategory".equals(heatmap) || "nodesByForeignSource".equals(heatmap)) {
               %>
  -            location.href = "/opennms/element/node.jsp?node="+nodes[0].nodeId
  +            location.href = "/opennms/element/node.jsp?node=" + nodes[0].nodeId
               <%
                 }
               %>
  
positive.code: 
            if (request.getParameterMap().containsKey("heatmap")) {
              heatmap = request.getParameter("heatmap");
              url += heatmap + "/";
            }
  
            if ("nodesByForeignSource".equals(heatmap)) {
              foreignSource = request.getParameter("foreignSource");
  
negative.code: 
  <div id="heatmap-box" class="panel panel-default">
      <div class="panel-heading">
          <h3 class="panel-title"><a href="heatmap/index.jsp">Heatmap</a></h3>
      </div>
  
      <script type="text/javascript" src="/opennms/js/jquery/jquery-1.8.2.min.js"></script>
  