Modified hero.js