new approch added for Windows Safari & biffercated UI code