instanceof HTMLElement does not work in jsdom node.js module.
Merge pull request #3416 from peerlibrary/noHTMLElement

instanceof HTMLElement does not work in jsdom node.js module.