title: Convert string into variable name in JQuery
body: <p>Is it possible to convert a string into a variable name while in jQuery's <code>document.ready</code>?</p>
  
  <p>If I try this in pure JS</p>
  
  <pre><code>var boh = "blahblah";
  console.log(window["boh"]);
  </code></pre>
  
  <p>returns <code>blahblah</code>, while if I go with JQuery</p>
  
  <pre><code>$(document).ready( function() {
      var boh = "blahblah";
      console.log(window["boh"]);
  });
  </code></pre>
  
  <p>returns <code>undefined</code></p>