Webb's orbit around L2 is known as a halo orbit which, rather than a single path, is an orbit that periodically varies through a series of paths around L2. By design, the launch vehicle and Webb's trajectory put Webb on a path to an L2 orbit with only small inputs needed to refine it.