Added event listener for new game.

Added event listener for new game.  Added canvas text for the end of the
game instead of alerts.