minify js and update map route