function addLabeledDep(moduleIdentifier) {
            deps[label] = function bravojs_labeled_dependency() {
                return bravojs.requireModule(moduleDir, moduleIdentifier);
            };
        }
Create a new require function, closing over it's path so that relative
 modules work as expected.