Finished version of Blackjack with AJAX