addressed jshint errors