Ajax not working properly for Raise Bet method