new geoportal/app.js to fix bugs