fixed jshint error in generate script