alerts replaced by navigator.notification.alert.