code: function(id, msg, result) {
          var q = queues[id], sc;
          if (q && q.onEnd) {
              sc = q.context || q;
              q.onEnd.call(sc, _returnData(q, msg, result));
          }
      }
docs: hash of queues to manage multiple requests
  @property queues
  @private