some changes for the phantomjs to try and get it working