Apex String Replace Function In Javascript Freecodecamp