jQuery.bind() events on plain Javascript objects
<p>Is it ok to bind jQuery events to plain, non-DOM Javascript objects:</p>

<pre><code>var myobject = {};
$(myobject).bind("foobar", function() { alert("daa"); });

$(myobject).trigger("foobar");
</code></pre>

<p>What are the implications for</p>

<ul>
<li><p>Garbage collection (no new references created preventing object to GC'ed)</p></li>
<li><p>Object attributes (new attributes assigned to the object)?</p></li>
<li><p>Performance</p></li>
</ul>

<p>Some things I have noted</p>

<ul>
<li>Event name must not conflict with a function name on the object, e.g. you cannot have function init and event named init and trigger it correclty</li>
</ul>
