Moving to use jsdom instead of phantomjs