Calling a function from another javascript file
<p>I have javascript file in following directory  </p>

<pre><code>/static
       /handler.js
       /evercookie.js
       /jquery.js
</code></pre>

<p>All I want to do from handler.js function call a function in evercookie.js. for example<br>
in <code>handler.js</code>  </p>

<pre><code>   var ec = new evercookie();
        cookiePresent = false
        ec.get(suggestion_id, function(value) { 
            alert("Cookie value is " + value);
            cookiePresent = true;
    });
    if (cookiePresent) {
            return;
        } else {
            ec.set(suggestion_id, "1");
            alert("cookie set for " + suggestion_id);
    }
</code></pre>

<p>where <strong>evercookie()</strong> is in <code>evercookie.js</code>  </p>

<p>when I try this it fails saying <code>evercookie not found</code>  </p>

<p>How shall I fix this?</p>
