attributes not implemented in node-dom => migrate to jsdom