new polyfill for requestAnimationFrame()