few more jshint warning fixes