Adding doc verify to improving the dom