code: function(id) {
          var q = queues[id];
          q.finished = true;
  
          if (q.aborted) {
              var msg = "transaction " + id + " was aborted";
              _fail(id, msg);
              return;
          }
  
          // execute success callback
          if (q.onSuccess) {
              var sc=q.scope || q.win;
              q.onSuccess.call(sc, _returnData(q));
          }
      }
docs: The request is complete, so executing the requester's callback
  @method _finish
  @param id {string} the id of the request
  @private