some jshint and jsdoc