instanceof HTMLElement does not work in jsdom node.js module.
Merge branch 'noHTMLElement' into peerlibrary

Conflicts:
	src/canvas.js