Sweet Jesus that's some of the nastiest JS I've ever have the pleasure of looking at. It's nearly 17k, unpacked, and while bizarre, is certainly "enterprise grade".
This function is actually useful:
Code:
helpers.browser={
IE:!!(window.attachEvent&&!window.opera),
Opera:!!window.opera,
WebKit:navigator.userAgent.indexOf('AppleWebKit/')>-1,
Gecko:navigator.userAgent.indexOf('Gecko')>-1 &&
navigator.userAgent.indexOf('KHTML')==-1,
Safari:navigator.userAgent.indexOf('Safari')>-1
};