anchor.diff:  
   <% content_for :scripts do %>
   <script type="text/javascript">
  +  /* global $, google, L, moment, initTypeahead */
  +
       var mymap = null;
       var sicily_coords = [37.5579, 14.1368];
       var zoom = 7;
  
positive.code:         google.visualization.events.addListener(timeSlider, 'statechange', selectHandler);
  
          var timeout = null;
          function selectHandler(e) {
            if (timeout) {
              clearTimeout(timeout);
              timeout = null;
  
negative.code:         var OpenStreetMap_DE = L.tileLayer('http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png', {
              maxZoom: 19,
              attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
          });
          OpenStreetMap_DE.addTo(mymap);
  
          //draw markers
          var markers = L.markerClusterGroup();
          locations.map(markerForEvent).forEach(function (marker) {
              markers.addLayer(marker);
          });
  
          mymap.addLayer(markers);
  
  