code: protected String endModules(HttpServletRequest request, Object arg) {
  		String result = ""; //$NON-NLS-1$
  		if (RequestUtil.isServerExpandedLayers(request) &&
  				request.getParameter(REQUESTEDMODULESCOUNT_REQPARAM) != null) { // it's a loader generated request
  			result = "});\r\n"; //$NON-NLS-1$
  		}
  		return result;
  	}
docs: Handles the
  {@link com.ibm.jaggr.core.transport.IHttpTransport.LayerContributionType#END_MODULES}
  layer listener event.
  <p>
  See {@link #beginModules(HttpServletRequest, Object)}
  
  @param request
  the http request object
  @param arg
  the set of module names.  The iteration order of the set is guaranteed to be
  the same as the order of the preceding
  {@link com.ibm.jaggr.core.transport.IHttpTransport.LayerContributionType#BEFORE_FIRST_MODULE},
  {@link com.ibm.jaggr.core.transport.IHttpTransport.LayerContributionType#BEFORE_SUBSEQUENT_MODULE},
  and
  {@link com.ibm.jaggr.core.transport.IHttpTransport.LayerContributionType#AFTER_MODULE}
  events.
  @return the layer contribution