remove some commented code in map.js