changed filestructure for phonegap2