#17 Created javascript methods for version preview and restore; commands and views for version preview;