Update and rename gui.js to battle.js