extra pair of script tags intemplate