Removed every dom stuff from the generator