IE compatibility fixes.

Updated incompatible IE features, including the broken shim.