[javascript] Remove a character at a certain position in a string - javascript