cookie mgmt + script tag fix