Cleanup + init_gameover()

cleaned up some spacing and added init_gameover() function to encapsulate window.location = 'gameOver.php'

init_gameover() is needed because I override this code during integration