intial location changed to localhost, cordova path changed.