Just want to mention it works with jsdom as is:

```
var fs = require("fs");
var jsdom = require("jsdom");

var htmljsx = fs.readFileSync("./html-jsx-lib.js","utf-8");

jsdom.env({
url:"http://sip1.idiil.org/",
src: [htmljsx],
done: function(errors,window){
      HTMLtoJSX = window.HTMLtoJSX;
      var converter = new HTMLtoJSX({
        outputClassName: "MyClass",
        createClass: true
      });
      console.log(converter.convert("<!doctype html><html></head><body><p><input></p></body></html>"));
}
});
```