Add requestAnimationFrame polyfil.