Animation Frame JavaScript

window.requestAnimationFrame(someFunction);
MunchDuster