       
       @connection = new Connection code
       @connection.set('bc', bc)
-      @remote = new Remote code.url
-      @connection.set 'author', @remote.getAuthor()
-      @connection.set 'currentSlideUrl', @remote.driver.getCurrentSlideScreenshot() 
-      @connection.set 'currentSlideNumber', @remote.driver.getCurrentSlideNumber() 
-      @connection.set 'quantity', @remote.driver.quantity
-      @connection.set 'title',    @remote.driver.getTitle()
+      try 
+        @remote = new Remote code.url
+        @connection.set 'author', @remote.getAuthor()
+        @connection.set 'currentSlideUrl', @remote.driver.getCurrentSlideScreenshot() 
+        @connection.set 'currentSlideNumber', @remote.driver.getCurrentSlideNumber() 
+        @connection.set 'quantity', @remote.driver.quantity
+        @connection.set 'title',    @remote.driver.getTitle()
+
+      catch error
+        alert(error)
+        return false
 
       baseFirebaseUrl = @baseFirebaseUrl = "#{BACKEND_DATA_HOST}#{@connection.get('token')}/"
       @queue.url = "#{baseFirebaseUrl}qc/"
       console? && console.log @queue
       
-
       # Push slide info
       slideInfo = new Firebase "#{baseFirebaseUrl}info/"
       slideInfo.set @connection.toJSON(), (e) ->

        
      this.$el.html(this.template(@connection.attributes))
      console? && console.log this.$el
      $('body').append this.$el
      return this

    events:

'use strict'

define ['jquery-private', 'underscore', 'backbone', 'sha1', 'firebase'],  ($j, _, Backbone, sha1, __Firebase__) ->
  $=$j
  BACKEND_DATA_HOST = "https://qslider.firebaseio.com/"
  Connection = Backbone.Model.extend
    defaults: 
      from: 'unknow'
