         "Ctrl-S"      : @bound "handleSave"
 
     @setEditorTheme()
-    @setEditorMode()
+    @setEditorMode 'html'
 
   handleSave: ->
     @save()

    @firepad.setText content  if @amIHost
    @codeMirrorEditor.scrollTo 0, 0
    @emit "OpenedAFile", file, content
    @setEditorMode file

  save: ->
    file        = @getData()

    document.head.appendChild link
    @codeMirrorEditor.setOption "theme", "ambiance"

  setEditorMode:(fileExtension) ->

    return  unless fileExtension

    CodeMirror.modeURL = "#{cdnRoot}/mode/%N/%N.js"
    syntaxHandler      = __aceSettings.syntaxAssociations[fileExtension]
    modeName           = null
    corrections        =
