Clean up the html in the popup a little bit.