update comments for map.js