created map.js and basic code to init.