Add doctype to index