Added Poltergeist/PhantomJS support