Update movingball.js

bouncing ball on click