Clean up html code