How to make a manage a collection of javascript vars, add/remove etc
<p>I'm creating items which are displayed on a page, I do this with:</p>

<pre><code>var popup = "something..."
</code></pre>

<p>How can I keep a record of all created popup vars and then manage them via:</p>

<ol>
<li>add a new popup var</li>
<li>remove a popup var</li>
</ol>

<p>Any clean ways of doing this?</p>
