anchor.diff:                          var cell = $(row).find('td:eq(' + j + ')');
                           datarow[columnName] = $.trim(cell.text());
                       }
  +                    for (var c = 0; c < currentData.length; c++) {
  +                        var cur = currentData[c];
  +                        if (cur.Metric === datarow.Name) {
  +                            var tmpV = parseFloat(cur.Score) / 10 * (parseFloat(datarow.Weight) + 0.0001);
  +                            console.log(tmpV);
  +                            console.log('cur'); 
  +                            console.log(parseFloat(cur.Score));
  +                            predGuess = predGuess + tmpV;
  +                            console.log(predGuess);
  +                            datarow.GuessedScoreContrib = tmpV;
  +                            break;
  +                        }
  +                    }
                       data[data.length] = datarow;
                   }
                   return data;
               }
  +        $(document).ready(function () {
  +           
               function getTextFrom(t) {
                   var i = 0;
                   var length = tonePhraseEx.length;
  
positive.code:                 // setup the chart
                  $('#pieContainer').jqxChart(settings);
              };
              var initWidgets = function (tab) {
                  console.log("tab");
                  console.log(tab);
  
negative.code:                         break;
                      case 2:
                          initPie();
                          var theData = loadDataFromTable("tblWeightedData");
                          console.log(theData);
                          $('#pieContainer').jqxChart({description: 'Guessed Mood: ' + predGuess});
  
                          // refresh the chart element
                          $('#pieContainer').jqxChart('refresh');
                          break;
                  }
              };
              var x = "";
  