cleaning up html code