Unexpected token error
<p>I have a small script and it throws Unexpected token error on line 2 and firebug says missing : after property id $('#hubmeter').click(function() {...}</p>

<pre><code>$(document).ready({
$('#hmeter').click(function() {
  alert("Handler for .click() called.");
});

});
</code></pre>

<p>html</p>

<pre><code>&lt;body&gt;
&lt;div id="hmeter"&gt;
&lt;img src="meter.png"/&gt;
&lt;/div&gt;
&lt;/body&gt;
</code></pre>
