With this, you are polluting the global namespace with unnecessary names. Please wrap all in an autofunction that return only the module you want to export:

```javascript
var MockMozNetworkStats = (function() { 
  /*Your former code goes here... */
  return {
    /* Your MockMozNetworkStats object... */
  };
}());
```