                         active: 'news'
 
         dismiss: ->
-            $('#main').html ''
+            $('#main').empty()
             navigationBar.dismiss()
 
     new NewsView()

                    navigationBar.present()

        dismiss: ->
            $('#main').html ''
            navigationBar.dismiss()

    new LoginView()

                        identity: identity

        dismiss: ->
            $('#main').empty()
            navigationBar.dismiss()

    new IndexView()
