Add requestAnimationFrame polyfill.

requestAnimationFrame