added ajax method to change the color of the box you click on the gameboard