JSDoc: fixes and updates for better consistency