Documentation fixes.
JSDoc upgrade work in progress