Detects the version of ie and appends the class to chosen tag.