title: JavaScript error (Uncaught SyntaxError: Unexpected end of input)
body: <p>I have some JavaScript code that works in FireFox but not in Chrome or IE. </p>
  
  <p>In the Chrome JS Console I get the follow error: </p>
  
  <blockquote>
    <p>"Uncaught SyntaxError: Unexpected end of input".</p>
  </blockquote>
  
  <p>The JavaScript code I am using is:</p>
  
  <pre><code>&lt;script&gt;
   $(function() {
   $("#mewlyDiagnosed").hover(function() {
      $("#mewlyDiagnosed").animate({'height': '237px', 'top': "-75px"});
   }, function() {
      $("#mewlyDiagnosed").animate({'height': '162px', 'top': "0px"});
   });
  &lt;/script&gt;
  </code></pre>
  
  <p>It says the error is on the last line which is <code>});</code></p>