https://github.com/tmpvar/jsdom which seems to be rather similar in scope and has great DOM test suite compliance.