Sort out the <script> tags.