added changes to dom-distiller