Updates PhantomJS gobals based on 1.7 API.