refactoring when closest is found and returning
refactoring when closest is found and returning

tidepool-org/chrome-uploader,tidepool-org/chrome-uploader,pazaan/chrome-uploader,pazaan/chrome-uploader,tidepool-org/chrome-uploader,pazaan/chrome-uploader