JS syntax breaks the page
<p>I have the following code in my external JS file:</p>

<pre><code>var myDiv = $(".myDiv");

if (myDiv.css('left') == 'auto') { 
    var pos = myDiv.position(); 
    myDiv.css({ "left:" + pos.left + "px", "top:" + pos.top + "px" }); 
} 
</code></pre>

<p>It appears that the following line breaks my page:</p>

<pre><code>myDiv.css({ "left:" + pos.left + "px", "top:" + pos.top + "px" }); 
</code></pre>

<p>If I comment it out everything works fine, except this functionality, obviously. </p>

<p>And if I put the values in alert I get them correctly as well.</p>

<pre><code>alert(pos.left + ' ' + pos.top)
</code></pre>

<p>What am I missing?</p>
