High-energy emission from blazars is thought to arise in a relativistic jet launched by a supermassive black hole. The rapid variability of the emission suggests that structure of length scale smaller than the gravitational radius of the central black hole is imprinted on the jet as it is launched, and modulates the radiation released after it has been accelerated to high Lorentz factor. We describe a mechanism which can account for the acceleration of the jet, and for the rapid variability of the radiation, based on the propagation characteristics of nonlinear waves in charge-starved, polar jets. These exhibit a delayed acceleration phase, that kicks-in when the inertia associated with the wave currents becomes important. The time structure imprinted on the jet at launch modulates the photons produced by the accelerating jet provided that the electromagnetic cascade in the black-hole magnetosphere is not prolific.