remove additional close script tag