almost finished browse bets page, added connection with json files