addressed jshint issues