using phonegap for an alert.