add IE support code (experimental)