Tetris game developed in javascript