```
var mobile = !gaBrowserSniffer.mobile + '';
```

or

```
var mobile = String(!gaBrowserSniffer.mobile);
```