anchor.diff:           		  var table = $('#word_table')[0];
            		  var rows = table.rows;
            		  var time = $('#startEndTime span')[0].innerText;
  +         		  $('#selWord1').empty();
  +         		  $('#selWord2').empty();
            		  for (var i = 1; i < rows.length-1; i++) {
            			  var wordDetails = [];
            			  wordDetails.push(rows[i].children[0].textContent);
            			  var temp = rows[i].children[1].innerHTML;
            			  temp =  temp.substring(temp.indexOf("background-color: ") + "background-color: ".length);
  -         			  wordDetails.push(temp.substring(0, temp.indexOf(";")));
  +         			  temp = temp.substring(0, temp.indexOf(";"));
  +                      $('#selWord1').append('<option value=' + temp + '>'+ rows[i].children[0].textContent +'</option>');
  +                      $('#selWord2').append('<option value=' + temp + '>'+ rows[i].children[0].textContent +'</option>');
  +         			  wordDetails.push(temp);
            			  wordDetails.push(time);
            			  searchData.push(wordDetails);
            		  }
  
positive.code:          var calendarChart;
           var earthchart;
           var projection;
           var stateMarkers = [];
           var curRow = 1;	      
             $(document).on("click", "#add_word", function(){
  
negative.code:          	      y2.innerHTML = rowcontent;
              }
           	  
           	 $('#selState1').on('change', function(){
           		updateLineGraph();
           	  });
           	$('#selState2').on('change', function(){
           		updateLineGraph();
           	  });
           	$('#selWord1').on('change', function(){
           		updateLineGraph();
           	  });
           	$('#selWord2').on('change', function(){
           		updateLineGraph();
           	  });
           	  $('#colorPicker').on('shown.bs.modal', function(e) { 
               	  colorInvoker = e.relatedTarget;
               	});
  