Adds requestAnimationFrame to polyfill.