Update hero.js

Basic routine. Very conservative, defensive strategy.