readd charset to generated script elements for internet explorer