El documento de referenceError no está definido Node JS
var jsdom = require("jsdom");
var JSDOM = jsdom.JSDOM;
Horrible Horse
var jsdom = require("jsdom");
var JSDOM = jsdom.JSDOM;
// ReferenceError: document is not defined
// try running it on browser not on node.js