<html>
    <head>
        <meta charset="utf-8">
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
        <script type="text/javascript" src="log.js"></script>
        <script type="text/javascript" src="battle.js"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                var canvas = $("#arena");
                var battle = new Battle(
                    canvas[0].getContext("2d"),
  