TDD Javascript Game of Tetris