Allow script tag to be modified on callback