In the unlabelled equation between 11.19 and 11.20, notice the presence of ##\hbar##. The reduced Planck constant has units ##Js##, which combine with the ##s^{-1}## from the derivative to leave just ##J##, the units of energy.
Explicitly, we have ##[\hbar]=kgm^2s^{-2} \cdot s=kgm^2s^{-1}##...