I've started learning game development using HTML5/CSS/JS and started with a small game which can be seen in this AWS storage http://oren.com.s3-website-eu-west-1.amazonaws.com/
When you open it and click SPACE you can see the ball starts moving (animating) and there are small stops every so often.
My question: This animation works perfectly when I'm running this locally (index.html and JS files locally on my laptop folder - available in GitHub https://github.com/OrenTa/Advanced-first-game)
What is the reason? what can I do?