Fixes for jsdoc and jshint