Fixes #246 - removes IE hacks when not in compatibility mode.