Several local functions were indexed by JSDuck as mw.loader methods whereas
they are in fact they don't even exist on that object. Mark them as @private.
Also add @protected on the internal methods 'work()' and 'require()',
which are public but not for general use (and may change without warning).