fixes #544 - No warning being given when running IE in compatibility mode