Connect 4 - DB concurrency, JSON and Ajax