Started making callbacks optional. Ended at nearest.js