Vanilla Javascript Drupal Adapter