How can I convert this to be an extension of the Array Prototype?
<p><a href="http://jsfiddle.net/ryanneufeld/Y8ZNU/" rel="nofollow">http://jsfiddle.net/ryanneufeld/Y8ZNU/</a></p>

<p>With this example I have created a queue modeled after how I assume google is handling analytics events. The thing is I'd like to convert it to be an extension of the array prototype.</p>

<p>What I'm trying to accomplish is that when you create a new instance of Queue and pass in a queue array, the new instance would act as an array with the extra functions I've added.</p>
