changed template tag to script tag

for IE and Firefox