docs: private boolean isJavascript(String type) {
          if("text/javascript".equalsIgnoreCase(type)) {
              return true;
          }
  
          if("application/x-javascript".equalsIgnoreCase(type)) {
              return true;
          }
  
          return false;
      }