win: corrected error message on getJob.
examples: improved cancelJob.js