Add event handling to example worker.
Add event handling to example worker.

tanzeelkazi/webworker,tanzeelkazi/webworker,tanzeelkazi/web-worker,tanzeelkazi/webworker,tanzeelkazi/web-worker,tanzeelkazi/web-worker