anchor.diff:    var layer = L.layerGroup();
     var marker;
   
  -  var change = true;
     var pointing = false;
     var pointing_cursor;
   
  
positive.code: 
    function update(destination_id, destination) {
      var row = $('[data-destination_id=' + destination_id + ']');
      change = false;
      $('[name=destination\\[name\\]]', row).val(destination.name);
      $('[name=destination\\[street\\]]', row).val(destination.street);
      $('[name=destination\\[postalcode\\]]', row).val(destination.postalcode);
      $('[name=destination\\[city\\]]', row).val(destination.city);
      $('[name=destination\\[lat\\]]', row).val(destination.lat);
      $('[name=destination\\[lng\\]]', row).val(destination.lng);
      change = true;
      marker.setLatLng(new L.LatLng(destination.lat, destination.lng));
      map.setView(marker.getLatLng(), 16);
      row = $('[data-destination_id=' + destination_id + ']');
  
negative.code:   });
  };
  
  function destinations_index(params) {
  
    var map_layer_url = params['map_layer_url'];
    var map_lat = params['map_lat'];
    var map_lng = params['map_lng'];
    var map_attribution = params['map_attribution'];
    var default_street = params['default_street'];
    var default_postalcode = params['default_postalcode'];
    var default_city = params['default_city'];
    var default_lat = params['default_lat'];
    var default_lng = params['default_lng'];
  
    var map = L.map('map').setView([map_lat, map_lng], 13);
    L.tileLayer(map_layer_url, {
  