remove "type" attribute from <script> tag