adding img in js
<p>I'm using javascript to create an image element like so:</p>

<pre><code>var img = document.createElement('img'); 
</code></pre>

<p>What would I do to give this img a width of 100%?</p>
