prepare for phonegap build system