Fix jshint and some jsdoc