Cross-browser `ProgressEvent` constructor