fix + jsdom deferral