As we’re riding the 1.4 train for this patch, let’s take this opportunity to get rid of the old `navigator.mozMobileConnection` API in Gaia and always assume `navigator.mozMobileConnection*s*` is available. In other words, let’s use this:
```javascript
var mobileConnection = navigator.mozMobileConnections[0];
```
or maybe this if we want to keep a hope to make Settings work on the desktop browser again:
```javascript
var mobileConnection = navigator.mozMobileConnections &&
  navigator.mozMobileConnections[0]; // = undefined on a desktop browser
```
Please apply this to js/security_privacy.js, line 50, too. These are the last two places where we still refer to the old API in Settings.