better IE7/8 detection