polyfill the timestamp parameter on requestAnimationFrame callbacks