Fix $tagName for <template>

The `$tagName` for `<template>` was set to `'tbody'` instead of `'template'`.