jQuery.1.4.2.js needs patch at line 1919

jQuery.1.4.2.js needs patch at line 1919

I had to replace line 1919-1922 in my local copy of jQuery.1.4.2.js to prevent IE 8 javascript errors when navigating away from a page using window.location.href = 'blah blah':

OLD CODE
========================================================
            events = jQuery.data(this, "events");
            if (events) {
                handlers = events[event.type];
            };

NEW CODE
========================================================
            try {
                events = jQuery.data(this, "events"), handlers = events[event.type];
            }
            catch (err) {
                events = null;
            };