docs(api-javascript): fix typo and update configuration reference (#23187)