customer view and javascript toggle get query