changed browser upgrade code to include IE7