added missing semi-colons, moved battle finish ok button