Add missing HTML5 elements

Namely, add the `main`, `math`, `svg`, and `template` elements. The `main` element has been named `main_` to avoid namespace collisions.