adds dom/setText

As discussed in #19