Edit in JSFiddle

<div class="wrapper">
Click a cell when it's your move.<br><br>
<div id="winner"></div>
<div id="move">AI's Move</div>
<table>
    <tr>
        <td><button id="c00"></button></td>
        <td><button id="c01"></button></td>
        <td><button id="c02"></button></td>
    </tr>
    <tr>
        <td><button id="c10"></button></td>
        <td><button id="c11"></button></td>
        <td><button id="c12"></button></td>
    </tr>
    <tr>
        <td><button id="c20"></button></td>
        <td><button id="c21"></button></td>
        <td><button id="c22"></button></td>
    </tr>
</table>

<input type="button" id="restart" value="Restart Game"/>
</div>