title: Creating an image element with src containing certain query string parameters
body: <p>I would like to create an HTML image element like this one:</p>
  
  <pre><code>&lt;img src="www.example.com?param1=aid&amp;param2=sid&amp;param3=user&amp;param4=now" /&gt;
  </code></pre>
  
  <p>I tried doing this:</p>
  
  <pre><code>var now = new Date().getTime();
  var aid = 123456;
  var sid = 78910;
  var user = "abcd";
  </code></pre>
  
  <p>How can I create the element from this data?</p>