Update hero-generator.js