A modular GIS engine written in JavaScript