Fixing jshint violations