removes script type attribute