title: jquery turn querystring into object
body: <pre><code>var obj = {
      'key': 'value',
      'cheese':'bacon',
      '&amp;':'&gt;'
  };    
  var params = $.param(obj)
  
  console.log(params); // key=value&amp;cheese=bacon&amp;%26=%3E
  </code></pre>
  
  <p>how do I turn <code>params</code> back into an object? (exactly what it was before)</p>