Window Unload overwritten

Window Unload overwritten

I am trying to add jQuery to a very large project that has many parts owned by teams outside of my own.
 
I noticed that several of our pages have inline (or asyncrous script which could occur before/after jQuery)for the window.onbeforeunload event.
 
When jQuery evaluates after our inline script (or async scripts) it seems to blow away the previous window.onbeforeunload method.
 

  beforeunload: {
   setup: function( data, namespaces, eventHandle ) {
    // We only want to do this special case on windows
    if ( jQuery.isWindow( this ) ) {
     this.onbeforeunload = eventHandle;
    }
   },






   teardown: function( namespaces, eventHandle ) {
    if ( this.onbeforeunload === eventHandle ) {
     this.onbeforeunload = null;
    }
   }
  }




 
It will be very difficult to find all the places in the project that do this.

Should I be logging a bug?

Thanks.