anchor.diff:  <script>
   var mapOptions, map, GeoMarker, printers, circle;
   
  -function createPrinter(d, p){
  +function createPrinter(id, p){
       var image = 'http://maps.google.com/mapfiles/ms/icons/red-dot.png';
       return {marker: new google.maps.Marker({
                           position: p,
                           map: map,
                           icon: image}),
  -        data:d,
  +        id:id,
           selected:false};
   }
   
  
positive.code:   </div>
  </div>
  
  <%= f.hidden_field :printer, :value => "[1,2]" %>
  
    <div class="actions">
      <%= f.submit %>
  
negative.code:     center: new google.maps.LatLng(57.70567520430679, 11.963586330413818)
    }
    map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
    printers = [];
    $.getJSON('/printers.json', function(data){
      data.forEach(function(printer){
          var latLng = $.parseJSON(printer.location);
          printers.push(createPrinter(printer.id, new google.maps.LatLng(latLng.lat, latLng.lng)));
      });
        printers.forEach(function(printer){
          google.maps.event.addListener(printer.marker, 'click', function() {
  