add reqAnimFrame shim