Adding requestAnimFrame shim