Remove map.js and some debug code.