Fix the unit test failure in JS Quick Edit and some typos in JSDoc.