changes for phonegap