dddom.py: fixed NodeWebkit, and other browsers that are strict about `e.cloneNode(true)`