Online JS editor to diplay JS code in readable format
<p>On trying to debug an issue via FireBug in FF I landed up to a JS that runs hundred lines with no new lines, space and indentation. Though I know JS a little bit but reading this JS code was piratically impossible.</p>

<pre><code>Math.random().toString().replace(/90\./,"");this.res=[];this.req=[];this.ret=null;this.retry=true;this.timeout=null;this.getDuration=function(precision){precision=!isNaN(precision)?(3-precision):0;};..........................and so on non-stop....
</code></pre>

<p>Is there a way in FireBug or via an online tool to make this JS code format into proper human readable format?</p>
