updates comments in cash.js for JSDoc