 AccountMixin = do ->
-  
+
   init:(api)->
     {JAccount, JGuest} = api
-    
+
     JGuest::fetchNonce = ->
-    
+
     nonces = []
 
     fetchNonces = (callback)->

          withArgs  : args
          secretChannelId
        }], callbackId
      
      fetchChannel =do ->
        messageHandler =(secretChannelId, args) ->
          callback = localStore.get(args.method)

        else
          nonces = nonces.concat moreNonces
        callback nonces

    fetchNonce = (callback)->
      nonce = nonces.shift()
      if nonce? then callback nonce
      else fetchNonces -> fetchNonce callback

    JAccount::fetchNonce = fetchNonce

    JAccount::fetchKiteChannelName = (kiteId, callback)->
      @_kiteChannels or= {}
      kiteChannelId = @_kiteChannels[kiteId]
