code: def _decorator(store_name, store_values):
      
      def decorator(clz):  # pylint: disable=missing-docstring
  
          # Add a `wait_for_js` method to the class
          if not hasattr(clz, 'wait_for_js'):
              setattr(clz, 'wait_for_js', _wait_for_js)  # pylint: disable= literal-used-as-attribute
  
          # Store the RequireJS module names in the class
          if not hasattr(clz, store_name):
              setattr(clz, store_name, set())
  
          getattr(clz, store_name).update(store_values)
          return clz
  
      return decorator
docs: Return a class decorator that:
  
      1) Defines a new class method, `wait_for_js`
      2) Defines a new class list variable, `store_name` and adds
          `store_values` to the list.