changes for phonegap deployment