A tic-tac-toe server using Sinatra, jQuery, JSON