change some elements to html5 equivalent