Raise events, if the document is getting loaded, refreshed or closed. The events shall be notified from the WSH script.