add requestAnimationFrame polyfill