Added requestAnimationFrame, cancelAnimationFrame and performance.now polyfills.