Notes on requestAnimationFrame