Fix bug in js/maps.js, set output directory for maps, changed map files for multiple maps per user