Clean up the index page.