JavaScript terrain map generating web-app that uses THREE.js to provide a preview