improve JSDoc comments