Script causes a square to bounce around screen