BlackJack in Vanilla JavaScript