add support for jsdom