Tetris in javascript, just for fun