example phonegap program