Script doesn't always fully execute when ajaxed in with jQuery
<p>I've got this clause to execute a script under certain condition;</p>

<pre><code>//if artist page clicked run profile script
if (id == 'artist_link') {
        $.getScript("AJAX/get_profile.js");
}
</code></pre>

<p>The problem i'm having is that the script will often not fully execute. Sometimes nothing will be executed other times only parts of it will execute. I can't really provide any more details than this. Strange occurence though is that it always executes fully when firebug is open and I can't find any problems. The browsers that i've tested on and both have this problem are chrome and firefox</p>

<p><a href="http://jsfiddle.net/TNt4s/" rel="nofollow">jsfiddle</a> with <code>get_profile.js</code> file in.</p>
