working on phonegap