 
     # Handle being moved to the background in Cordova builds
     if ENV.cordova
-      document.addEventListener "pause", =>
-        if typeof @activeScene.pause is "function" then @activeScene.pause()
+      document.addEventListener 'pause', =>
+        if typeof @activeScene.pause is 'function' then @activeScene.pause()
         @stopMusic()
         @pausedMusic = @currentMusic
       , false
 
       # Handle resuming from background
-      document.addEventListener "resume", =>
+      document.addEventListener 'resume', =>
         @playMusic @pausedMusic
       , false
 

    @sona.loop(id)
    @currentMusic = id

  # Stop music!
  stopMusic: ->
    return if not @currentMusic


        random: 0
      localStorage.setObject 'complete', complete

    if localStorage.getObject('lastViewedLevel') == null
      lastViewedLevel =
        beginner: 0
