Adding key handlers and switching back to JSDOM.