 childAdded = (snapshot) ->
   person = snapshot.val()
   personName = person.name
+  
   positionRef = snapshot.ref().child(POSITION)
+  positionRef.on("value", positionCallback(personName))
   
-  positionRef.on("value", positionCallback(personName))
+  if snapshot.ref().name() == myKey
+    initGeoloc()
   
 positionCallback = (personName) ->
   (snapshot) ->

initialize = ->
  initFirebase()
  initMap()
  initGeoloc()
  showAndroidAd()

initFirebase = ->

  else
    myHandle = room.push()
    myHandle.child("name").set("Web")
    myKey = myHandle.name()
    if localStorage?
      localStorage[roomName] = myKey
    
  myPosition = myHandle.child(POSITION)
  
