Added reset when dead
Fixed OB compatible with Chrome