Here is the source code of a javascript tetris I have coded for a Swiss Game Competition.
All informations are here: http://projects.bugnplay.ch/bugnplay/library/project.php?project=2013038
There are 4 languages avaiables. French, German, Italian and English.