Improved support for IE