anchor.diff:              <input type="text" name="boxcolourpicker" value="" class="form-control input-sm" />
               <span class="input-group-addon"><i></i></span>
             </div>
  -          <input type="hidden" name="dashboard[boxcolour][]" class="boxcolour" value="" />
  +          <input type="hidden" class="boxcolour" value="#ddd" />
         </div>
   
         <div class='form-group form-group-sm col-md-6'>
  
positive.code:   });
  
    function showVisualisations(selector, metric) {
      selector.find('.input-group label').addClass('hidden')
      $.each(metric.data('visualisations').split(','), function( index, value ) {
        selector.find('.' + value).removeClass('hidden')
  
negative.code: 
      if (current_rows == 0) {
        // If there are no rows, this is easy
        for (var i=0; i<row_num; i++) {
          row = row_template.clone()
  
          row.appendTo(table);
        };
      } else {
        // Otherwise, we need to append / remove columns and rows
        rows = table.find('tr');
  