overwrite default properties in jQuery plugin
<p>could someone explain overwriting default properties and even extending them with jQuery inside my plugin example and also the closure function</p>

<pre><code>$.fn.myObject = function(overwriteProperties) {
    var properties = {myproperty1: "defaultvalue"}
    // overwrite properties here
    function doStuffHere() {

    }
    return (function() {
        return this; // does this part here refer to the object of myDiv
    });
} 
$('#myDiv').myObject({myPoperty1:"newValue"});
</code></pre>
