Connect 4 game in jQuery/JavaScript (part of a GAE project)