Fixes the emulation of webworkers.

The Worker.js didn't transmit the .data object like WebWorkers do.

The emulation is still not perfect, since you have to do stuff like
JSON.parse in the message handler manually, but it's pretty close.