Moved PhantomJS code first.