fixing JSDoc comments