Added jsdoc for files, standardized cbs and compute