Added a fallback for older versions of Internet Explorer.