I have a code that I  am working on. It works when I run it in firefox but it gives me an error when executed on chrome or IE.
This is the error:
"Uncaught SyntaxError: Unexpected end of input".
The JavaScript code:
<script>
 $(function() {
 $("#mewlyDiagnosed").hover(function() {
    $("#mewlyDiagnosed").animate({'height': '237px', 'top': "-75px"});
 }, function() {
    $("#mewlyDiagnosed").animate({'height': '162px', 'top': "0px"});
 });
</script>
Can someone help me with this?