Yeah, a `typeof` check would be better here and in footer-email-form.js. Will update.