title: SyntaxError: illegal character
body: <p>I have problem with with last line of this code. In firebug/console I see </p>
  
  <blockquote>
    <p><code>SyntaxError: illegal character after });</code></p>
  </blockquote>
  
  <p>When i look in firebug/script i see <code>});a&lt;/script&gt;</code>. I don't know how to delete it.</p>
  
  <pre><code>    &lt;script type="text/javascript" &gt;
  $(function() {
      $('#filput').checkFileType({
          allowedExtensions: ['jpg', 'jpeg'],
          success: function() {
              alert('Success');
          },
          error: function() {
              alert('Error');
          }
      });
  });​&lt;/script&gt;
  </code></pre>