removing first <script> tag