Avoid executing script tag twice during response processing