     return
 
   @random = (kites) ->
-    kites[Math.floor Math.random() * kites.length] 
+    kites[Math.floor Math.random() * kites.length]

    @options.autoReconnect ?= yes

    @readyState = NOTREADY
    
    @initBackoff()  if @options.autoReconnect

    @proto = dnodeProtocol (wrapApi @options.api)
    
    @proto.on 'request', (req) =>
      @ready => @ws.send JSON.stringify req
      @emit 'info', "proto request", req

      callback err, result
    kite              :
      username        : "#{ @options.username ? 'anonymous' }"
      environment     : "#{ @options.environment ? 'browser-environment' }"
      name            : "browser-kite" # TODO: don't know where to get this value for now
      version         : "#{ @options.version ? '1.0.0' }"
      region          : "#{ @options.region ? 'browser-region' }"
      hostname        : "#{ @options.hostname ? 'browser-hostname' }"
      id              : @id

  tell: (method, params, callback) ->
