code: private String renderDefaultJavaScript(HttpServletRequest request, String realId)
      {
          String idScript = null;
  
          // map the tagId to the real id
          if (TagConfig.isDefaultJavaScript()) {
              ScriptRequestState srs = ScriptRequestState.getScriptRequestState(request);
              idScript = srs.mapTagId(getScriptReporter(), _trs.tagId, realId, null);
          }
          return idScript;
      }
docs: Much of the code below is taken from the HtmlBaseTag.  We need to eliminate this duplication
  through some type of helper methods.