Missing semicolon
<h2>solved</h2>

<p>in the below code Firefox says i am missing ; before statement on line 3 any help
this is to load some base 64 from a text file and use it elsewhere in the program.</p>

<pre><code>function preloader(url,handleData) {
    $.ajax({
        url: url,
        success:function(data) {
            handleData(data);
        }
    });
}
preloader("extra/joke_img.txt",function(output){var localStorage['joke_img']=output;});
</code></pre>

<p>this is bugging the crap out of me any help is great</p>
