title: Using $.getScript (jquery): code is not executed
body: <p>I am working on updating my website, which now uses an AJAX engine. My engine works well, up-to-hand for some reason some pages do not execute javascript, let me explain: when the anchor change I use $.get for data recovery. The pages have this structure: <br/></p>
  
  <pre><code>title
  h1
  script1.js,script2.js,etc.js
  style1.css,style2.css,etc.css
  &lt;!--there's the page's content--&gt;
  </code></pre>
  
  <p>It appears reload the page solves the problem, but i don't understand what is different. In the previous code, the engine runs successfully, reloaded or not:<br/></p>
  
  <pre><code>$.getScript("script1.js");
  $.getScript("script2.js");
  $.getScript("etc.js");
  </code></pre>
  
  <p><br/>
  In addition, a php generated script contains user's current state under an Object form:<br/></p>
  
  <pre><code>$(function(){
      user = new Object();
      user.id = user.logged = &lt;?php echo $user-&gt;getId();?&gt;;
      user.nick = "&lt;?php echo $user-&gt;getNick();?&gt;";
      user.mail = "&lt;?php echo $user-&gt;getMail();?&gt;";
  
      user.logout = function(){
  
      };
  });
  </code></pre>
  
  <p>The $.getScript request is successful, but the user object is not changed. The script, however, has yet been modified. And it don't works from console too.<br/><br/>
  The update is currently online at <a href="http://v2.wawolf.com/#/">v2.wawolf.com</a>, you'll find everything you need.
  <b>Hotlink: </b><a href="http://v2.wawolf.com/js/main.js">Engine's code</a></p>