forked version of dom-lite