Detect IE7 with JavaScript.