anchor.diff:          dd.col-sm-9= experiment[key]
       if experiment._charts
         each val, ind in experiment._charts
  -        div(id= "chart_" + ind)
  +        div(id= "chart" + ind)
   
   block scripts
     script(src="/bower_components/jquery/dist/jquery.min.js")
  
positive.code:           // Add default options
            _.defaultsDeep(chartData, chartDefaults);
  
            // Loop over data to downsample
            for (var j = 0; j < chartData.data.columns.length; j++) {
              // TODO Deal with different chart types
              if (chartData.data.columns[j].length > downsampleFactor) {
                // Get values
                var vals = chartData.data.columns[j];
                var valsKey = chartData._columnNames[j];
                if (valsKey) {
                  // Get indices
                  var indicesKey = chartData.data.xs[valsKey];
                  var indicesIndex = chartData._columnNames.indexOf(indicesKey);
                  var indices = chartData.data.columns[indicesIndex];
                  // Downsample
  
negative.code:       }
  
        if (experiment._charts) {
          // Creates a linear scale
          var linScale = function(numEls, step, start) {
            return _.map(Array(numEls), function(val, ind) {
              return start + step*ind;
            });
          };
  
          // Use Largest-Triangle-Three-Buckets downsampling
          var downsampleFactor = 500;
  
          // Create charts
          for (var c = 0; c < experiment._charts.length; c++) {
            var chartData = experiment._charts[c];
            // Default chart options
            var chartDefaults = {
              bindto: "#chart" + c,
              axis: {
                x: {label: {position: "outer-center"}, padding: {left: 0}},
                y: {label: {position: "outer-middle"}, padding: 0}
  