Revert "remove unnecessary ie-specific backport code"

This reverts commit 4126bda22b82e20bcdeb046e80197c661461c27f.