Addressing jshint issues