ui and log viewer send proper html pages

Currently the response body starts with `<head>`.  Using `html4` will bookend the document with the proper tags and declarations.