refactor map.js
Merge pull request #31 from sjsharp/refactor/map.js

(refactor)map.js