expose a lower level export so you can operate on a jsdom document