Refine html