Tetris game with high score

I made this Tetris game using HTML, JavaScript and CSS. 

It has control settings, a database with high scores, showing "next piece" and "hold piece", the game itself - with a leveling system that ramps up the points and the speed for the falling pieces.

There is also a small box for "stats" that shows your current points and what level you are playing. 

When the game is finished a "Enter your name"-box pops up and lets you write your initials for the high score, just like the old arcades.