Fixed minor bug in gameover.js