Remove double html tag, change to html5 doctype