Removing unnecessary css and html.