code: def js_bundle_names(self, name=None):
          
          configs = self.get_configs(name)
  
          names = []
          for k, v in configs.items():
              if v.get('js_bundle_name'):
                  names.append(v['js_bundle_name'])
  
          return sorted(names)
docs: Returns all needed Javascript Bundle names for given config name (if
          given) or every registred config instead (if no name is given).
  
          Keyword Arguments:
              name (string): Specific config name to use instead of all.
  
          Returns:
              list: List of webasset bundle names.