build for phonegap