Javascript Tetris game