add "typeof" condition to inspect #hero-element