[BUG #8468] add JSDoc comments