anchor.diff:      var id = $("#location_day_id").val();
       var routeVisible = false;
   
  +    var renderArray; 
  +    var requestArray;
  +
       function initialize() {
   
           var mapOptions = {
  
positive.code:     $(".animate_all").click(function (e) {
          e.preventDefault();
  
          resetRoute();
          requestAllDayLocations();
  
  
negative.code: 
      }
  
      // call it remove or hide or clear?
      function removeAllRoutes(){
        if (renderArray != undefined){
          // simply setting renderArray = null doesn't work        
          for(var i = 0; i < renderArray.length; i++){
            renderArray[i].setDirections( { routes: [] } ); 
          }
  
          // probably not necessarry
          for(var i = 0; i < requestArray.length; i++){
            requestArray[i] = null;
          }
        }
  
      }
  
      // Random Color Generator
      function getRandomColor() {
          var letters = '0123456789ABCDEF'.split('');
  