Short ids now replace all + and / characters.

Using the 'g' flag in the string 'replace' function to replace all instances of + and / characters.