Two person tetris, in JavaScript