use html doctype rather than xhtml
restore missing html tag
simplify index doctype
lowercase doctype
plain response type