start a jquery function over
<p>Is it possible to start a function over, based on an <code>if</code> statement, in JQuery or Javascript?  Something like how <code>return functionname();</code> is to PHP?</p>

<p>For example</p>

<pre><code>function awesomestuff {
   //do stuff;
   //do stuff;
   if(x == 1) { //start function over }
   //do stuff;
   //do stuff;
}
</code></pre>

<p>I imagine this can be accomplished with an <code>if/else</code> statement, but if the function gets pretty big, it can get pretty messy.  </p>
