       0
     ], 2)
 
-    # removed for ios7 see: https://github.com/Leaflet/Leaflet.markercluster/issues/279
-    # if !navigator.userAgent.match(/(iPad|iPhone|iPod touch);.*CPU.*OS 7_\d/i)
-    #   window.markers = new L.MarkerClusterGroup
-    #     showCoverageOnHover: true
-    #     spiderfyOnMaxZoom: false
-    #     removeOutsideVisibleBounds: true
-    #     zoomToBoundsOnClick: true
-    #     maxClusterRadius: 50
-    #     disableClusteringAtZoom: 14
-    # else
-    window.markers = map
-
     new L.Control.Zoom({ position: 'topleft' }).addTo(map)
     navigator.geolocation.getCurrentPosition((position)->
       map.setView([position.coords.latitude, position.coords.longitude], 4)
     )
+
+    allLabs = new (L.LayerGroup)
+    map.addLayer(allLabs)
 
     $.get "/labs/mapdata.json", (labs) ->
       for lab in labs.labs

            popupAnchor:  [0, -20]
          })
          lab.marker = L.marker([lab.latitude, lab.longitude], {icon: icon})
          lab.marker.bindPopup("<a target='_top' href='#{lab.url}'>#{lab.name}</a>")
          window.markers.addLayer(lab.marker)
          window.labs.push(lab)
    map.addLayer(window.markers)

    windowHeight = ->
      $('#map').css('top', $('#main').offset().top).height($(window).height() - $('#main').offset().top)

    $("input#lab_latitude").val result.geometry.location.lat()
    $("input#lab_longitude").val result.geometry.location.lng()


# Embed map

  if $('body').hasClass('c-labs a-map') or $('body').hasClass('a-embed')
    L.mapbox.accessToken = 'pk.eyJ1IjoidG9tYXNkaWV6IiwiYSI6ImRTd01HSGsifQ.loQdtLNQ8GJkJl2LUzzxVg'
    map = L.mapbox.map('map', 'mapbox.light', { scrollWheelZoom: true, zoomControl: false }).setView([
