Clean up python code and html pages.