Removes debugger statement from map.js and fixes response codes for the routes