Added polyfill for requestAnimationFrame() to scripts