anchor.diff:        }
         gradient = [];
         _.times(14, function(i){
  -        c = HeatMap.state.colours[index];
  +        c = HeatMap.state.filters[index].colour;
           a = i/13.0;
           gradient.push("rgba("+c[0]+","+c[1]+","+c[2]+","+a+")");
         });
  
positive.code:   }
  
    function redraw_heatmaps() {
      if (HeatMap.state.filters.length > 0) {
        $.getJSON("heatmaps/points", HeatMap.state, function(data){
          HeatMap.points = data;
          display_heatmaps();
        });
        $.getJSON("heatmaps/comments", HeatMap.state, function(data){
          HeatMap.comments = data;
          display_comments();
        });
  
negative.code:     map = new google.maps.Map($("#hack .map")[0], map_options);
      google.maps.event.addListener(map, 'idle', update_bounds);
      google.maps.event.addListener(map, "bounds_changed", function(){
        HeatMap.dirty = true;
      });
    }
  
  