[reqAnimFrame] add existence check