Cleanup and update of jsdoc