Added phantomjs support