Drupal 9 add inline JavaScript to a page programmatically | Drupal 8