A JavaScript object to manage your undo/redo stack.