updated index with a phonegap example