successfully wrote working jquery for location expandables