Tidying the HTML