cordova path changed, initial location changed to localhost.