add publish-docs grunt task
jsdoc fixes