anchor.diff:  visits_area = Morris.Area({
     element: 'visits_area',
     xkey: 'date',
  -  data: <%=@data[:week][:visits_new_visits_plot].to_json%>,
  +  data: <%=@data[@range][:visits_new_visits_plot].to_json%>,
     ykeys: ['new_visits', 'returning_visits'],
     labels: ['New Visits', 'Returning Visits'],
     ymax: 'auto',
  
positive.code: });
  </script>
  <script language="javascript" type="text/javascript" src="<%=$template_prefix%>/javascripts/bootstrap.min.js"></script>
  
  <!-- end footer -->
  
negative.code:   data: [{"label":"Google","value":6482},{"label":"Bing","value":2136},{"label":"Direct","value":8136},{"label":"Other","value":5136}]
  });
  
  browsers_donut = Morris.Donut({
    element: 'browsers_donut',
    data: <%=@data[@range][:browsers_donut].to_json%>
  });
  
  unique_visits_line = Morris.Line({
    element: 'unique_visits_line',
    xkey: 'unit',
    data: <%=@data[@range][:unique_visits].to_json%>,
    ykeys: ['unique_visits_this', 'unique_visits_last'],
      labels: ['Current', 'Previous'],
    ymax: 'auto',
  