javascript onunload Description

In most browsers, the actual document unloading does not wait for the onunload event handler function to complete. Therefore, keep onunload processing