We should also add the following to simulate the behavior of the real mozL10n.localize.
```
else {
  element.removeAttribute('data-l10n-id');
}
```