Hide the `template` element in IE, Safari, and Firefox < 22

Please see 77982e2 for the original commit.

This is for v1.