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

typeof HTMLElement does not work in jsdom node.js module:

https://github.com/tmpvar/jsdom/issues/649

I am using pdf.js inside node.js and by this simple change it works perfectly.