Added compability to phantomjs in JsonWithDateTime spec.