maps.js improvements