Improve jsdoc syntax. [closes #334]