Updated documentation for JSDoc