Fixes #2: rendering bugs in Internet Explorer.

Removed unsupported <template> tag in favor of <script> tags as <template> is only supported by Chrome and Firefox.