Nit, indentation:
```javascript
var hour24StateUnitStyle = {
  valueDisplayedText: [
    navigator.mozL10n.get('time_am'),
    navigator.mozL10n.get('time_pm')
  ],
  className: unitClassName
};