Use defaults object to save current coordinates.
Fix wrong selector for lat/lng input.
Rename 'ondragend' function.