Bouncing a Ball Around with HTML5 and JavaScript