Correction to safify.js when string is `undefined`.