added jsdoc blocks to stave