adopting app for phonegap build