DOM manipulation tool