completed code
Merge branch 'master' of https://github.com/jonclark/h2h_phonegap