jshint mostly addressed