Added js function to sympathize with the player when he lost