fixing jshint problem