Updated bot client, minor javascript changes