Bug in request animationframe polyfill in safari, trying a different one