Fix minor typo in JavaScript doc.

Nothing big here. Just fixing a minor typo.