Online backgammon game written in HTML5 and JS(jquery)