removed the jsdom dependency