Fixed horrible bad practice

-Added an actual DOM element to index.html instead of making it through
code for the battle.
-Fixed the bug when exiting a battle early.