Make HTML element hiding compatible with IE.