Cleans up styles, layouts and scripts