Allow for handling of responses when starting Tasks
Added worker.js to wrap worker code