phonegap 2 alert