Add hacks for old :shit: phantomjs