Fixes to JSDoc for API docs