cleaned up html templates