Add requestAnimationFrame polyfill snippet