adding locationMapper.js