code: protected String moduleNameIdEncodingBeginLayer(HttpServletRequest request) {
  		StringBuffer sb = new StringBuffer();
  		if (request.getParameter(AbstractHttpTransport.SCRIPTS_REQPARAM) != null) {
  			// This is a request for a bootstrap layer with non-AMD script modules.
  			// Define the deps variable in global scope in case it's needed by
  			// the script modules.
  			sb.append("var " + EXPDEPS_VARNAME + ";");  //$NON-NLS-1$//$NON-NLS-2$
  		}
  		return sb.toString();
  	}
docs: Returns the text to be included at the beginning of the layer if module name id
  encoding is enabled.
  
  @param request
  the http request object
  @return the string to include at the beginning of the layer