replace old browser alert notify with exception