added phantomjs capabilities option