comment update, require jsdom once, simplify statement