Internet Explorer compatibility fix