refactor some of the document.body calls on pizza page