nit: let's relocate this to live near the other handlers https://github.com/julienw/gaia/blob/fe4c0ba0b71a113119e07845a91be69b30fba5f8/apps/sms/js/compose.js#L414-L466