jsdom is frontend/browser specific module, that provides access to the DOM. NB: it only works with the JS backend.
jsdom
Run v -b js_browser examples/js_dom_draw/draw.js.v, then open examples/js_dom_draw/index.html in your browser.
v -b js_browser examples/js_dom_draw/draw.js.v
examples/js_dom_draw/index.html