Beautifying the html of the list.