detect html5 doctype