changes to hero.js