Made alternate JS routing option for external links to ensure that it does not go to Safari.