Finished buy chips alert popup window. Finishes some ajax calls with the server like place_bets, buy_chips.