FIX: Notification menu broken on older browsers (PR #14019)

replaceAll is not available in all versions of Chrome/Firefox/Edge that we support, so we need to use replace instead.

GitHub