app to test phonegap events