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