A client-side Find Nearest Task for the Esri API for JavaScript