code: protected String beforeLayerModule(HttpServletRequest request, ModuleInfo info) {
  		String result;
  		String mid = info.getModuleId();
  		int idx = mid.indexOf("!"); //$NON-NLS-1$
  		if (info.isScript()) {
  			result = "\"" + (idx == -1 ? mid : mid.substring(idx+1)) + "\":function(){"; //$NON-NLS-1$ //$NON-NLS-2$
  		} else {
  			result = "\"url:" + (idx == -1 ? mid : mid.substring(idx+1)) + "\":"; //$NON-NLS-1$ //$NON-NLS-2$
  		}
  		return result;
  	}
docs: Handles
  {@link com.ibm.jaggr.core.transport.IHttpTransport.LayerContributionType#BEFORE_FIRST_LAYER_MODULE}
  and
  {@link com.ibm.jaggr.core.transport.IHttpTransport.LayerContributionType#BEFORE_SUBSEQUENT_LAYER_MODULE}
  layer listener events.
  
  @param request
  the http request object
  @param info
  the {@link com.ibm.jaggr.core.transport.IHttpTransport.ModuleInfo} object for the module
  @return the layer contribution