scripts
: a string or array of strings, containing file names or URLs that will be inserted as <script>
tags
var jsdom = require("jsdom");
jsdom.env('<p><a class="the-link" href="https://github.com/tmpvar/jsdom">jsdom!</a></p>',
["http://code.jquery.com/jquery.js"],
function (err, window) {console.log("contents of a.the-link:", window.$("a.the-link").text()););
}