JSXCompressor Usage
<p>I'm trying to use jsxcompressor from
<a href="http://jsxgraph.uni-bayreuth.de/wp/jsxcompressor/" rel="nofollow">http://jsxgraph.uni-bayreuth.de/wp/jsxcompressor/</a></p>

<p>but before I can get anything going I hit the problem:</p>

<blockquote>
  <p>Uncaught TypeError: Cannot read property '0' of undefined</p>
</blockquote>

<p>My simple sample code is as below:</p>

<pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script src="/jsxcompressor.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        document.write(JXG.decompress("test")); 
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I know "test" isn't exactly a compressed string but just put it there for testing to begin with.</p>

<p>The error from the chrome js console is like this:
<img src="http://i.stack.imgur.com/ZZGtb.jpg" alt="chrome js console error messsage"></p>

<p>Can anyone help me with this please?
Many thanks!</p>
