anchor.diff:          };
           google.visualization.events.addListener(chart, 'select', mouseEventHandler);
           initSidebar();
  +
  +        var olderLinksElement = document.getElementById('button_time_back');
  +        <% if @hasLinkInfo[:prevLinks] %>
  +  	  setPrevLink(olderLinksElement);
  +        <% else %>
  +          checkOlderLinksID = setInterval(checkOlderLinks, 60 * 1000);
  +        <% end %>
  +        var newerLinksElement = document.getElementById('button_time_forward');
  +        <% if @hasLinkInfo[:nextLinks] %>
  +  	  setNextLink(newerLinksElement);
  +        <% else %>
  +          checkNewerLinksID = setInterval(checkNewerLinks, 60 * 1000);
  +        <% end %>
           
            $(document).ready(function() {
             console.log("document ready");
  
positive.code:       //<![CDATA[
        var intervalCandidatePosnTweetCounts, clickColumnToDataColumn;
        var candidateNames, isoStartDates, gEndDate;
        var console = {
          log: function(msg) {
            document.getElementById("console").value = msg;
          }
        }
        function drawVisualization() {
          intervalCandidatePosnTweetCounts = [];
          candidateNames = [];
  
negative.code:                         endDateISO: gEndDate},
                          updateNewerLinks);
        };
        
        var getEndDate = function(row) {
          if (row < gNumRows - 1) {
  