code: protected void addModuleArg(String jsFile, String moduleName, List<String> args, StringBuilder moduleArg) {
  		int argIdx = 0;
  		for (Iterator<String> iterArg = args.iterator(); iterArg.hasNext(); argIdx++) {
  			String arg = iterArg.next();
  			if (arg.equals(JS_ARG)) {
  				iterArg.next();
  				arg = iterArg.next();
  				argIdx += 2;
  			}
  			if (arg.equals(MODULE_ARG)) {
  				arg = iterArg.next();
  				argIdx++;
  				Matcher matcher = MODULE_ARG_PATTERN.matcher(arg);
  				if (matcher.find()) {
  					String dep = matcher.group(1);
  					if (dep != null) {
  						List<String> moduleDependencies = Arrays.asList(dep.split(MODULE_DEPENDENCIES_SEPARATOR));
  						if (moduleDependencies.contains(moduleName)) {
  							break;
  						}
  					}
  				} else {
  					throw new BundlingProcessException(
  							"There were an error in the generation of the module dependencies.");
  				}
  			}
  		}
  
  		args.add(argIdx++, JS_ARG);
  		args.add(argIdx++, jsFile);
  		args.add(argIdx++, MODULE_ARG);
  		args.add(argIdx++, moduleArg.toString());
  	}
docs: Adds the module argument taking in account the module dependencies
  
  @param jsFile
  the bundle js file
  @param moduleName
  the module name
  @param args
  the list of arguments to update
  @param moduleArg
  the module argument to add