getting user location from dom