applied internet tech-blackjack using js