The bug TypeError: $(...).data(...) is undefined at the end of the game is fixed !!!!!!!