Typescript Replace Part Of String Concatenation Javascript