Fixing <script /> output bug