```js
exports.scriptManager = function() {
    // ...
};
```

If you need it in the local scope:

```js
var scriptManager = exports.scriptManager = function() {
    // ...
};
```