title: Create new class with variable name in Chrome Extension
body: <p>This is related to:<br>
  <a href="https://stackoverflow.com/questions/5838898/create-new-javascript-object-from-variable">create new javascript object from variable</a>   </p>
  
  <p>But the solution from there (using window or this object) is not working in Chrome Extension background page.<br>
  When I go to console I can see my class if I type the name there, but is not inside "window" object.<br>
  Does somebody why is that and if there is a workaround?</p>