trying to use jsdom doesn't work