Convert Javascript function to jQuery plugin
<p>I have already a short-hand function like so:</p>

<pre><code>function myObj() {};
    myObj.prototype.read = function (name) {alert(name);};
    ...(more functions)
</code></pre>

<p>Now I would like to "convert" this to a jQuery plugin.<br>
What is the best way to do so? (My function doesn't need a selector before it).
I thought about doing it like this:</p>

<pre><code>$.myObj.methodHere();
</code></pre>

<p>Thanks in advance.</p>
