add charset to generated script elements for internet explorer