Added support for older versions of IE.