var HTML5 = require('html5');
var jsdom = require('jsdom');
var core = jsdom.browserAugmentation(jsdom.level(3));

var impl = new core.DOMImplementation();
var document = impl.createDocument();
var window = document.parentWindow;
var parser = new HTML5.JSDOMParser(document, core);

parser.parse('<ruby><rt>foo</rt></ruby>');

console.log(document.innerHTML);
