editLocations jquery