Upgraded to standard jsdom