add GameLoop and AnimationFrame