added flyout js to layout