Fix jshint errors/warning