jQuery .append() does not work from .js file
<p>I have the following line of code:</p>

<pre><code>$('#text').append('&lt;h2 style="color:white"&gt;afdghadfg&lt;/h2&gt;');
</code></pre>

<p>If I paste this code inside of a script tag in the html, it works fine. However, when placed inside a .js file it does nothing. </p>

<p>Know that the .js file has plenty of other working javascript and jQuery code, it is only this line that won't work.</p>
