clean up output
doctype
update view to generate html 5 compatible p