javascript module that is using jquery loaded before jquery
<p>I have javascript module which should only be interpreted only after jquery is loaded</p>

<p>example</p>

<pre><code>&lt;script src=myApp.js&gt;&lt;/script&gt;
&lt;script src=jQuery.js&gt;&lt;/script&gt;
</code></pre>

<ul>
<li>myApp.js is using jQuery. </li>
<li>script include sequence has to be like provided before</li>
</ul>

<p>How to do this? As i can't flip them and do </p>

<pre><code>&lt;script src=jQuery.js&gt;&lt;/script&gt;
&lt;script src=myApp.js&gt;&lt;/script&gt;
</code></pre>

<p>The reason for this is that I have a layout.html that has some scripts which uses jquery,
but each other view which inherits layout.html (etc. index.html) is using different version of jquery, so i want jquery to be unique per page.</p>
