removing unnecessary variables left after automated IDE refactoring in map.js