Adds JSQueue (FILO)

* Adds JSQueue class to support queued events/actions
* Adds JSQueuedEvent class (used by JSQueue)
Updates sample page.