refactor hero.html