code: function addPart(locale, master, needed, toLoad, prefix, suffix) {
          if (master[locale]) {
              needed.push(locale);
              if (master[locale] === true || master[locale] === 1) {
                  toLoad.push(prefix + locale + '/' + suffix);
              }
          }
      }
docs: Helper function to avoid repeating code. Lots of arguments in the desire to stay functional and support RequireJS contexts without having to know about the RequireJS contexts.