Add js closure to map.js and use strict statement
Fix conficts in static/js/map.js