small fixes for jsdoc generation and jshint rules