You can drop the JobID check, since it was specified that during the subscription. Also add an `else` that sends `""`, to handle the `error` event.