Fixes for newer versions of IE