disabling script element storing data