TypeError: toAdd.contains is not a function at virtuallyAddElement (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:3890:36) at Tree.copyFromElement (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:3921:17) at Object.replaceDOMTree (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:4342:14) at Object.replacer (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:5185:45) at processNodeWithEngine (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:3129:42) at processNode (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:3334:27) at afterNode (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:2685:37) at domTraverse (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:2763:25) at translationReceived (/app/dist/lib/crawl2/dist/sandboxEngine3.6.js:8744:21) at /app/dist/lib/crawl2/dist/sandboxEngine3.6.js:9534:25