fix css for phantomjs