Added compatibility with Drupal 11, removed the dependency on jQuery, and fixed other smaller issues.