Don't do this _in_ the function. 


Also, I would add an expando to the exported `GumHelper` object: 

```js
GumHelper.isGumSupported = !!navigator.getUserMedia;
```

This can be used in `main.js` to replace the duplicated check for `navigator.getUserMedia` support.