There are many javascript's tetris pages on the web, you can start the game on a single browser page. Here is a simply javascript tetris, the comment is written for understanding, and you can change the code to build a customized tetris for yourself.
To test the code, just press the RUN button below.






