var mylibrary = (function () {
var helperFunction = function () { ... };
var importantAPIFunction1 = function () { ... };
var importantAPIFunction2 = function () { ... };
return {importantAPIFunction1: importantAPIFunction1,
importantAPIFunction2: importantAPIFunction2,
helperFunction: helperFunction }; // a bit weird to have this "little" function along the other important API functions
} ) ();