anchor.diff:    }
   
     function display_comments() {
  -    $("#hm1 .count").text(HeatMap.comments[0].count);
  -    $("#hm2 .count").text(HeatMap.comments[1].count);
  -    $("#hm3 .count").text(HeatMap.comments[2].count);
  +    _.each($("#controls h3 .count"), function(elem, index){
  +      $(elem).text(HeatMap.comments[index].count);
  +    });
     }
   
     function redraw_heatmaps() {
  
positive.code:     HeatMap.state.filters = [
        {
          id: 295,
          colour: [255, 0, 0],
          visible: true
        },
        {
          id: 304,
          colour: [0, 255, 0],
          visible: true
        },
        {
          id: 5,
          colour: [0, 0, 255],
          visible: true
        }
      ];
    };
  
    params = $(location).attr('search').split("?q=")[1];
    if (!_.isUndefined(params)) {
      params = JSON.parse("["+decodeURIComponent(params)+"]");
      HeatMap.state.center = [params[0], params[1]];
      HeatMap.state.zoom = params[2];
      HeatMap.state.filters[0].id = params[3];
      HeatMap.state.filters[1].id = params[4];
      HeatMap.state.filters[2].id = params[5];
    }
  
    ZOOMS = {
  
negative.code:   }
  
    function initialize() {
      _.each(HeatMap.state.filters, function(){
        $("#controls").append('<h3><span class="count">0</span></h3><div><select class="source"></select><select class="property"></select><select class="measure"></select></div>');
      });
      $("#controls").accordion({
        active: false,
        collapsible: true,
        heightstyle: "content"
      });
      $("#menu").tabs();
      $("#regional").selectmenu({
        width: 160,
  