Tetris remake for HTML5 canvas