fix a <script> pice code bug