Fix for Internet Explorer 8