Fix typos in comments in JavaScript files.

I found a few grammatical errors in the comments.