Polyfill requestAnimationFrame when necessary
Merge pull request #149 from dstockwell/polyfill-raf

Polyfill requestAnimationFrame when necessary