JQuery including file with constants
<p>I have the following jQuery constants file which looks something like this:</p>

<pre><code>function($) { 
    var Constants =     {
        DECIMAL_SEPARATOR: ",", 
    ....
    } })(jQuery);
</code></pre>

<p>I'm referencing to the file in the &lt;<strong>head</strong>> section of the HTML page.
Later down I'm using those variables in jQuery script calls, like this:</p>

<pre><code>$("$.financeTable input").numeric(Constants.DECIMAL_SEPARATOR);
</code></pre>

<p>When including the file in the &lt;<strong>head</strong>> element it doesn't work, but when I copy the same code into the &lt;<strong>script</strong>> tag in the same file it works.</p>

<p>How can that be?</p>
