Add spaces: Thetheory,asvonNeumannsuggested,wasexactlywhatheneededtodevelopatheoryofthespectrumofatomswithnelectrons.
The theory, as von Neumann suggested, was exactly what he needed to develop a theory of the spectrum of atoms with n electrons.