Eh, I feel like that would tempt people to unnecessarily add dependencies of those functions on the state of the widget.  Having them be independent also makes them easier to test properly, and for that reason they also need to be exported somehow.

I'm working on refactoring everything to use http://requirejs.org/, which is the best solution for issues like this.  The second best solution would not be to do

```javascript
(function(formdesigner) {
    var NONE = "NONE";

    formdesigner.widgets.itemsetWidget = ...;
    function foo() {};
})(formdesigner);
```
i.e., the normal JavaScript module pattern that's been around for ages and is perfectly possible to use without any additional tooling.