restruct and rewrite basis.dom.wrapper (ru)