replaced use of $.browser.msie which has been removed from jQuery 1.9 with equivalent check