Bug fix
Fixed error in map.js