Scope ProgressEvent constructor to window.