AJAX callback: error with firefox
This issue is related to drupal/boostrap theme. It doesn't occur with default drupal theme.
Replace methods in Attributes.cleanClass pass the identifier as a 3rd parameter isn't needed because string replacements in JS are chained.
https://www.drupal.org/project/bootstrap/issues/2969106