jsdom version with events