Add requestAnimationFrame shim