solve jshint problem