       # In the second form, the optional params can be overridden through parameters at data.api calls
       #
       # The normalized form is the first one.
-      # 
+      #
       # @param {Array} the parameters for the API calls
       # @return {Array} The normalized form of parameters
       ###

      onRemoteReady = (remoteConfig)->
        data = remoteConfig.data
        env.config.services = remoteConfig.services
        for m in ['me', 'app', 'org']
          attrs = data[m]
          if attrs

        collection      = new Collection
        collectionURI   = path
        collection.url  = path
        collection.on 'all', ->
          args = slice.call(arguments)
          eventName = ("collection." + collectionURI.replace(/\//g, ".") + '.' + args[0])
