Changes to address the undefined suit issue

Changed Deck.init() so that the suit names are stored instead of a number. 

Added two secretCard.show() statements for testing so that you can see the secretCard after each guess.

If you just want to see the suit, you can add secretCard.suit to your alert statement:
alert(secretCard.suit + "! " + "You guessed it!")