add JSDoc conventions