Bouncing Ball using Javascript Completed