Za: http://www.bcherry.net/talks/js-better-faster
var BC = {}; BC.util = (function (BC) { var util = {}, foo; // private variable // public util.someFunction = function () {}; // private function someOther() {} return util; }(BC));