Add semicolons at EOL in JS ProgressEvent example