copyedit JS docs
Docs: fix 1 typo; use <code> in 1 place
typo: match doc text and example
Merge pull request #8305 from cvrebert/copyedit

copyedit JS docs
Merge pull request #8306 from cvrebert/styling-n-typo

Docs: fix 1 typo; use <code> in 1 place
Merge pull request #8313 from jholl/patch-1

typo: match doc text and example