Cleaning up html for analytics page