Added IE7 (legacy browser) fix for navigator class