External JS file causing my webpage to appear blank
<p>I'm making a browser-based clone of an old strategy game called Diplomacy. This is what I've got so far:</p>

<pre><code>&lt;html&gt;

&lt;head&gt;

&lt;title&gt;Diplomacy&lt;/title&gt;
&lt;script type="text/javascript" src="game.js" /&gt;

&lt;/head&gt;


&lt;body&gt;

&lt;canvas id="canvas" width="750" height="750" style="border: 3px solid black; background:url('DiplomacyMap.png');"&gt;
Your browser does not support Canvas.
&lt;/canvas&gt;

&lt;/body&gt;

&lt;/html&gt;
</code></pre>

<p>What does it look like in-browser? A blank page. However, if I remove the link to the external JS file in the head (game.js), it shows up no problem. This doesn't appear to have to do with the contents of the JS file, as even if I delete them or comment them all out, the problem persists. It seems to be to do with the mere presence of the  element.</p>

<p>If I replace the <code>&lt;script src="file.js"&gt;</code> element with an embedded <code>&lt;script&gt; ...code... &lt;/script&gt;</code>, the page works fine.</p>

<p>So... what's going on?</p>

<p>PART 2:</p>

<pre><code>&lt;script type="text/javascript"&gt;
colorProvince(PARIS, FRANCE);
&lt;/script&gt;
</code></pre>

<p>Although the colorProvince function and the PARIS and FRANCE constants are all defined in game.js, this function isn't being called (as verified by a simple alert() in the colorProvince function). This doesn't do anything, either:</p>

<pre><code>&lt;script type="text/javascript"&gt;
alert(colorProvince);
&lt;/script&gt;
</code></pre>
