update protractor.js to work with phantomjs/ghost-driver