build for phonegap 3.1.0