fix script tag removal