Adding jsdom to simulate DOM for tests