improve comments, doctypes and html tags, add converter