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

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

initFirebase = ->

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