Make templates back script tag