rebind undo-tree in web mode