Normalize the `template` element display

The `template` element shipped in Firefox 22 and Chrome 26. Browsers
without HTML template support should at least hide the element.