Fix compatability issues with IE browsers.