Fix the MagicWorker prototype.

Broke in Chrome stable. This method should hopefully last.
Set the MIME type of the blob to text/javascript.