replaced alerts with phonegap alerT