revised final phonegap blog