JavaScript client side library for lightweight geoprocessing