fix namespacing and html5 doctype