Wrapper on jsdom that includes jquery libary and promises