add jsdom as a dependency and unbundle PhantomJS