phonegap FINAL