Update ballMovement.js