Instantiated jsdom to give jQuery a window

The code was failing due to jQuery requiring a window object: 'jQuery requires a window with a document'