Add an option to preserve script tags (other than onMetaData).