Turf.js is a great JavaScript library for doing geospatial analysis and manipulation directly in the browser. But it does have a downside; all of it's functions are synchronous, halting the whole webpage when processing large amounts of data.