Polyfill for requestAnimationFrame in CommonJS format to be used by Browserify or Webpack.