Web workers are great; they provide a powerful way to run background threads on website.
I wanted to create a more convenient way to deal with them in a jQuery-esque way. This code allows you to create a web worker and returns a jQuery.Deferred
extended with some of the web worker methods on the instance.
(function($, undefined){
// Worker method