Request AnimationFrame for working browser