separate the init of geolocation into an independent method
now it can upload file to server via XHR2; the receiver will also get notified of the uploading progress