I can do that, but this is also extremely ugly. Is there a replace(search array, replacement array) that we can make use of? (I know JS doesn't come with that by default, but if we already have that somewhere else we can recycle)