changed tetris js parts