anchor.diff:     				 projectName = document.getElementById('metricsTable').getElementsByTagName('td')[i].innerHTML;
      				 //used to calculate the width of the project's truncated name to compare with selected metric's bar width
      				 var nameWithSpanTags = document.getElementById('metricsTable').getElementsByTagName('td')[i];   				 
  - 	 	         	 var correctName = nameWithSpanTags.getElementsByTagName('span')[0].innerHTML;   				 
  + 	 	         var correctName = nameWithSpanTags.getElementsByTagName('span')[0].innerHTML;   				 
      				 var shortName = truncateName (correctName);   				 
      				
      				 nameIdGenerator = "name" + count;
  
positive.code: }
  
  <!--Retrieves the largest metric value from the metric selected in order to calculate the bar graph scale-->
  function getBarGraphScale(metricsArray){
  	var tableWidth = document.getElementById("metricsTable").offsetWidth;
  	//the bar graph width is about 40% of the table width
  	var barGraphWidth = tableWidth/2.5;
  	largestNumber= Math.max.apply(Math, metricsArray);
  	var scale = barGraphWidth/largestNumber;
  	console.log("this is the scale of the bar graph:  " + scale);
  	return scale; 
  }
  
  <!--Creates the bars from the metric the user selects-->
  function showBars(metric, scale, noOfRows){  
   	
   	var projectName;
   	var shortName;
   	 
  
negative.code:    						 metric = document.getElementById('metricsTable').getElementsByTagName('td')[i].innerHTML;
     						 if (metric == "-"){
     						 	metric = 0;
     						 	metricArray.push(metric);
     						 }
     						 
     						 if (metric != 0){
     						   metricAsNumber = parseInt(removeCommasOrPercentage(metric));   						 
     						   metricArray.push(metricAsNumber);
     						}
     						 idGenerator = idName + count;   			
     						 divGenerator = "div" + count;   							    						    						 
     					     	 tablecontents += "<td style = 'display: none' id = '" + idGenerator + "'nowrap='' align='left' >" + metric + "</td>";
  