How to call methods
<p>I have few js files in my project with this structure:</p>

<pre><code>(function (window, $) {
    var reload = function (force) { /* implementation here */ };
    //more variables are here, the same construction as above
})(this, $);
</code></pre>

<p>Are more such files, for each part (page) of the website there is one js with this structure to manage the page. The whole site is a single page, with those js files managing DOM nodes by hiding, showing and filling content and this gives to the user the illusion s/he navigates throw multiple pages. </p>

<ol>
<li><p>I'd like to get a simple explication about how the above construction is loaded - I see the head.js library that loads all those js scripts, but I don't understand where is loaded, how to access it.</p></li>
<li><p>I'd like to know how to access by myself the specific reload() I need. As I told you, are more js files with the same structure (resources.js, users.js, reports.js etc). How do I access the reload function inside, let's say, reports.js on a button press in the html I load all those scripts?</p></li>
</ol>
