Create a widget not reliant on a DOM element
<p>I'm trying to make my code cleaner, and for this, I really like <code>JQuery widgets.</code></p>

<p>Today, I would like to create a widget not related to a Dom Element :</p>

<pre><code>$.widget('ui.resaWidget', {
    options : {
        viewer : null
    }...
});
</code></pre>

<p>The only way I've found to call this widget is:</p>

<pre><code>$(aDomElement).resaWidget();
</code></pre>

<p>Is there a way to call my widget in a way like:</p>

<pre><code>$.resaWidget()  ?
</code></pre>

<p>Because in fact, my widget is for the whole page generation, and not only for a single DOM element.</p>

<p>By the way, <code>$('body').resaWidget()</code> doesn't appear to work.</p>

<p>Thanks for your help.</p>
