Workig with booking js part (switching tabs)