code: function frame() {
        if (!frameRunning) {
          frameRunning = true;
          requestAnimationFrame(animationLoop);
        }
        return create.apply(qframe, arguments);
      }
docs: schedule a callback for the next frame returns its unique id as object .frame(callback[, arg0, arg1, argN]):object