traverses html tree and replaces tag w/ dummy string X