PhantomJS and polyfills