LPS-41717 this randomKey is used for Ids in several places but it has non valid js characters
LPS-41717 Ray preferred this fix, because it makes it obvious why we are doing the search and replace