Javscript based Blackjack game