added win for player two, fixed rotation when cell is clicked, full JS version