Extract declarations of `simRequest` and `wifiRequest` outside the `if` statements. In only one line:
```javascript
var simRequest, wifiRequest;
```