Fixed archive/restore mark JS