Use Drupal.settings instead of drupalSettings.