hide button when game over; added teaspoon
organize javascript into functions; teaspoon tests