Update dominate.js

Starting to get very convoluted here, enabled setting of existing elements.