Changed unclear variable to doctype
Minor edits