[doc] Improve documentation
[minor] Adding missing JSDoc