add somting like
game.tile7.prototype.damage = true

then you can check to see if the tile the hero is on will damage you in the same way you would check to see if a tile is walkable.

Not sure how your code is set out, so i cant help you with reseting the hero.

Ali