Added doctype and fixed syntax errors.