     @$el.html @template()
     @conversationListView = new ConversationListView
       collection: new Conversations
+    @conversationListView.setElement @.$('.conversations')
     @conversationListView.collection.fetch()
-    @conversationListView.$el = @.$('.conversations')
     this
 
 class Router extends Backbone.Router

  render: =>
    @$el.html @template
    @messageListView = new MessageListView collection: @model.messages
    @messageListView.$el = @.$('.messages')
    @messageListView.render()
    @messageListView.scrollToBottom()
    this

      beforeSend: (xhr) ->
        xhr.setRequestHeader 'X-CSRFToken', data.csrfmiddlewaretoken
      success: =>
        @.$('textarea') .val ''
        @messageListView.collection.add message
        @messageListView.scrollToBottom()

