javascript stack data structure library to implement undo/redo functionality
<p>I need to implement an Undo/Redo system on a rather complex web application (which is using jQuery). Whilst I can quite happily implement a custom solution myself using an array of objects holding state and push/pop calls etc., is there any particularly good library of a data structures available for javascript which would benefit me?  </p>

<p>Please do not reply with examples of how to implement a stack in javascript, this question arises more because the development of javascript libraries continues at a pace that makes it easy to miss 'must use' libraries.</p>
