Provider sidebar JS functionality