Add requestAnimationFrame polyfill.
Merge pull request #538 from YetiOr/raf

Add requestAnimationFrame polyfill.