map.js as a separate file