Compatibility fixes for Internet Explorer