add redo, undo, and html5 storage save.