[update:] working on building with phonegap plugin