Add semi-colon and doctype to examples.