Bouncing Balls Animation HTML5 and Javascript(Canvas)