Remove all DOM traversals