code: private static void setLegacyJavaScriptMode()
      {
          JspTagConfig tagConfig = ConfigUtil.getConfig().getJspTagConfig();
          if (tagConfig != null) {
              javascriptMode = tagConfig.getIdJavascript().getValue();
          }
          else {
              javascriptMode = IdJavascript.INT_DEFAULT;
          }
      }
docs: This will set the JavaScript support level for the id and name attributes.