alert phonegap testing