John,
Todays nightly build has this on the top :
// Keep a UserAgent string for use with jQuery.browser
userAgent = navigator.userAgent.toLowerCase(),
Above is using the window global, where I suppose you want 'userAgent'
to be "sandboxed" and you want to reference the window argument, not
the window global ?
// Keep a UserAgent string for use with jQuery.browser
// Corrected: using the window argument
userAgent = window.navigator.userAgent.toLowerCase(),
Regards: DBJ