Tetris puzzle game in HTML5