AnimationFrame JavaScript

window.requestAnimationFrame(someFunction);
MunchDuster