Still got the issue on main page, before login.
TypeError: jQuery.browser is undefined
if (jQuery.browser.name == 'msie') {

It is not directly your code but is due tu jQuery.browser.name. Please look at the documentation for the use of this method.