anchor.diff:  
       <% if defined? @maxSize %>
         <div id="visualization"></div>
  -      <% if @hasLinkInfo[:prevLinks] %>
  -        <div id="button_time_back" class="buzz_button_link" hasLink="1"><%= link_to "&laquo; Older".html_safe, {:controller => "tweets", :action => "index", :startDateISO => @linkInfo[:prevLinks][:startDate],
  -                                         :endDateISO   => @linkInfo[:prevLinks][:endDate]} %></div>
  -      <% end %>
  -      <% if @hasLinkInfo[:nextLinks] %>
  -        <div id="button_time_forward" class="buzz_button_link" hasLink="1" hasLink="0"><%= link_to "Newer &raquo;".html_safe, :controller => "tweets", :action => "index", :startDateISO => @linkInfo[:nextLinks][:startDate],
  -                                         :endDateISO   => @linkInfo[:nextLinks][:endDate] %></div>
  -      <% end %>
  +      <div id="button_time_back" class="buzz_button_link">[No earlier data]</div>
  +      <div id="button_time_forward" class="buzz_button_link">[No newer data]</div>
       </div>
       <div id="buzz_candidate">
   
  
positive.code:         };
          google.visualization.events.addListener(chart, 'select', mouseEventHandler);
          initSidebar();
          
           $(document).ready(function() {
            console.log("document ready");
  
negative.code:         if (result) {
            clearInterval(checkOlderLinksID);
            checkOlderLinksID = 0;
            var olderLinksElement = document.getElementById('button_time_back');
  	  setPrevLink(olderLinksElement);
          }
        };
        
        var setPrevLink = function(olderLinksElement) {
            olderLinksElement.setAttribute("hasLink", 1);
            olderLinksElement.innerHTML = '<%= link_to "&laquo; Older".html_safe, :controller => "tweets", :action => "index", :startDateISO => @linkInfo[:prevLinks][:startDate], :endDateISO   => @linkInfo[:prevLinks][:endDate]  %>';
        };
        var checkOlderLinks = function() {
          jQuery.getJSON(checkOlderLinksURL,
  