Javascript heatmap ReferenceError h337.create
<p>I am modifying an existing project from github which uses heatmap.js to generate a heatmap from a match in the game "Counter-Strike: Global Offensive", the original developer did not seem to finish this part of the code or it has bugs in it. The Firebug console says this as the only error:</p>

<pre><code>ReferenceError: h337 is not defined
var heatmap = h337.create(
</code></pre>

<p>This is the line that it seems to blame: <a href="https://github.com/deStrO/eBot-CSGO-Web/blob/master/apps/backend/modules/matchs/templates/_stats_heatmap.php#L26" rel="noreferrer">https://github.com/deStrO/eBot-CSGO-Web/blob/master/apps/backend/modules/matchs/templates/_stats_heatmap.php#L26</a></p>

<p>I think there is a typo/error somewhere here, after spending hours trying to locate it I am unable to do so.</p>

<p>I tried generating a heatmap using both Chrome (v46.0.2490.80), Firefox (v41.0.2) however nothing happens and the only error logged is the TypeError one which is all I have to go after.</p>

<p>Any tips/hints as to what can be causing this? I have been googling/searching stackoverflow for similar issues without success, I think there is something silly I am overlooking..</p>