change states js , ajout de gameOver