Hiding lives and score counter with js once game has ended