Refactored the Auto-generated HTML file.