revising jquery for control branches sales