add requestAnimationFrame polyfill (just in case)