code: public static boolean isDefaultJavaScript()
      {
          if (javascriptMode == -1) {
              setLegacyJavaScriptMode();
          }
          assert(javascriptMode != -1);
          return (javascriptMode == IdJavascript.INT_DEFAULT
                  || javascriptMode == IdJavascript.INT_LEGACY);
      }
docs: Return true if the default JavaScript support should be written to the output stream.
  @return boolean