Tetris Clone in JS