Some of the tutorials and examples I have seen for developing jQuery plugins tend to return
this.each(function () { //Plugin code here });
When you write a plugin you are extending the jQuery object, and because the jQuery object is a sequence you return this.each(function () { }); so that your plugin is executed for each item of the sequence.
this.each(function () { });