Allows global strict in PhantomJS and updates tests.