Fix to openDirections() on iOS to use the window.open facility