Remove test dependency on jsdom to (hopefully) fix TravisCI failures