remove script from cookie