added doctype to index.html files and define for loging to stdout