new changes for phonegap