init for https://build.phonegap.com/