onbeforeunload bug
The bug is fixed (as far as I can tell) if the internal jQuery function now() is modified like so:
// original:
function now() {
return (new Date).getTime();
}
// modified:
function now() {
return (new Date).valueOf();
}