Bug 1053968 - Clean up mozL10n API use in SMS

https://bugzilla.mozilla.org/show_bug.cgi?id=1053968
nit: it'd be better if you align two parts of single condition like:
```
if (element.hasAttribute('data-l10n-id') &&
    element.hasAttribute('data-l10n-args')) {
````