Blackjack written in JS