Set location data to DOM after activation