create script tag for all inline templates